Dieser Commit ist enthalten in:
Ursprung
b891c5adf1
Commit
f83ba6ab96
@ -32,7 +32,10 @@ public class AxiomPermissionCheck implements Listener {
|
|||||||
|
|
||||||
@EventHandler
|
@EventHandler
|
||||||
public void onAxiomHandshake(AxiomHandshakeEvent event) {
|
public void onAxiomHandshake(AxiomHandshakeEvent event) {
|
||||||
if (Permission.WORLDEDIT.hasPermission(event.getPlayer())) return;
|
if (Permission.WORLDEDIT.hasPermission(event.getPlayer())) {
|
||||||
|
event.setMaxBufferSize(Short.MAX_VALUE);
|
||||||
|
return;
|
||||||
|
}
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren