[BUG] Fix PlayerEvents ignoring isFromVanish
This commit is contained in:
@@ -22,12 +22,12 @@ public class CraterPlayerEvent extends CraterEvent {
|
||||
|
||||
public PlayerLoggedIn(BridgedPlayer player, boolean isFromVanish) {
|
||||
super(player);
|
||||
this.isFromVanish = false;
|
||||
this.isFromVanish = isFromVanish;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Getter @Setter
|
||||
@Getter
|
||||
public static class PlayerLoggedOut extends CraterPlayerEvent {
|
||||
private final boolean isFromVanish;
|
||||
|
||||
@@ -37,7 +37,7 @@ public class CraterPlayerEvent extends CraterEvent {
|
||||
|
||||
public PlayerLoggedOut(BridgedPlayer player, boolean isFromVanish) {
|
||||
super(player);
|
||||
this.isFromVanish = false;
|
||||
this.isFromVanish = isFromVanish;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#Project
|
||||
version_major=2
|
||||
version_minor=0
|
||||
version_patch=1
|
||||
version_patch=2
|
||||
version_build=1
|
||||
|
||||
#Mod
|
||||
|
Reference in New Issue
Block a user