Default is now active
Dieser Commit ist enthalten in:
Ursprung
688ba52968
Commit
b0dda7ec42
@ -32,6 +32,7 @@ import org.bukkit.Material;
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.Listener;
|
||||
import org.bukkit.event.entity.EntityExplodeEvent;
|
||||
import org.bukkit.event.player.PlayerJoinEvent;
|
||||
import org.bukkit.event.player.PlayerQuitEvent;
|
||||
import org.bukkit.util.Vector;
|
||||
|
||||
@ -88,4 +89,9 @@ public class DepthCounterListener implements Listener {
|
||||
public void onLeave(PlayerQuitEvent event) {
|
||||
DepthCounter.removePlayer(event.getPlayer());
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void onJoin(PlayerJoinEvent event) {
|
||||
DepthCounter.setModes(event.getPlayer(), CountMode.ALL);
|
||||
}
|
||||
}
|
In neuem Issue referenzieren
Einen Benutzer sperren