Dieser Commit ist enthalten in:
Ursprung
82e388e938
Commit
d3c27dd0f2
@ -42,7 +42,7 @@ public class AntiNocom {
|
|||||||
int z = TechHider.blockPositionZ.get(pos);
|
int z = TechHider.blockPositionZ.get(pos);
|
||||||
if(!player.getWorld().isChunkLoaded(ProtocolUtils.posToChunk(x), ProtocolUtils.posToChunk(z))) {
|
if(!player.getWorld().isChunkLoaded(ProtocolUtils.posToChunk(x), ProtocolUtils.posToChunk(z))) {
|
||||||
Bukkit.getScheduler().runTask(Core.getInstance(), () -> player.kickPlayer(null));
|
Bukkit.getScheduler().runTask(Core.getInstance(), () -> player.kickPlayer(null));
|
||||||
SWException.log(player.getName() + " kicked for digging an unloaded block (potential NoCom-DOS attack)", "");
|
SWException.log(player.getName() + " kicked for digging an unloaded block (potential NoCom-DOS attack)", x + " " + z);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
return packet;
|
return packet;
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren