Fix TPS Bugs with ScriptListener
Dieser Commit ist enthalten in:
Ursprung
b1ada402e3
Commit
bde263de50
@ -43,9 +43,7 @@ public class ScriptListener implements Listener {
|
||||
private Set<Player> playerSet = new HashSet<>();
|
||||
|
||||
public ScriptListener() {
|
||||
Bukkit.getScheduler().runTaskTimer(BauSystem.getPlugin(), () -> {
|
||||
playerSet.clear();
|
||||
}, 1, 1);
|
||||
Bukkit.getScheduler().runTaskTimer(BauSystem.getPlugin(), playerSet::clear, 5, 5);
|
||||
}
|
||||
|
||||
@EventHandler(priority = EventPriority.HIGH)
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren