[BUG] Fix PlayerEvents ignoring isFromVanish

This commit is contained in:
2024-07-14 23:08:24 +02:00
parent abdb68ca08
commit 597358db06
2 changed files with 4 additions and 4 deletions

View File

@@ -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;
}
}