Fixed PlayerResourcePackStatusEvent, Status was null as it was never declared, also throwing a super(player) in the constructor wasn't working for some reason so I added a player declaration as well.

This commit is contained in:
BuildTools 2022-04-27 22:42:31 -04:00
parent 0ac9810554
commit 8fa1b504f2
1 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,8 @@ public class PlayerResourcePackStatusEvent extends PlayerEvent {
public PlayerResourcePackStatusEvent(Player player, EnumResourcePackStatus status) {
super(player);
this.player = player;
this.status = status;
}
@Override