SteamWar/BauSystem2.0
Archiviert
12
0

Default is now active

Dieser Commit ist enthalten in:
Zeanon 2021-05-01 16:26:34 +02:00
Ursprung 688ba52968
Commit b0dda7ec42

Datei anzeigen

@ -32,6 +32,7 @@ import org.bukkit.Material;
import org.bukkit.event.EventHandler; import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener; import org.bukkit.event.Listener;
import org.bukkit.event.entity.EntityExplodeEvent; import org.bukkit.event.entity.EntityExplodeEvent;
import org.bukkit.event.player.PlayerJoinEvent;
import org.bukkit.event.player.PlayerQuitEvent; import org.bukkit.event.player.PlayerQuitEvent;
import org.bukkit.util.Vector; import org.bukkit.util.Vector;
@ -88,4 +89,9 @@ public class DepthCounterListener implements Listener {
public void onLeave(PlayerQuitEvent event) { public void onLeave(PlayerQuitEvent event) {
DepthCounter.removePlayer(event.getPlayer()); DepthCounter.removePlayer(event.getPlayer());
} }
@EventHandler
public void onJoin(PlayerJoinEvent event) {
DepthCounter.setModes(event.getPlayer(), CountMode.ALL);
}
} }