Made PlayerInteractEvent fire for digging within spawn for informational purposes only. Fixes BUKKIT-1086
Dieser Commit ist enthalten in:
Ursprung
06b814fd7e
Commit
b37872c1a6
@ -618,6 +618,7 @@ public class NetServerHandler extends NetHandler implements ICommandListener {
|
||||
if (packet14blockdig.e == 0) {
|
||||
// CraftBukkit
|
||||
if (i1 < this.server.getSpawnRadius() && !flag) {
|
||||
CraftEventFactory.callPlayerInteractEvent(this.player, Action.LEFT_CLICK_BLOCK, i, j, k, l, this.player.inventory.getItemInHand());
|
||||
this.player.netServerHandler.sendPacket(new Packet53BlockChange(i, j, k, worldserver));
|
||||
} else {
|
||||
this.player.itemInWorldManager.dig(i, j, k, packet14blockdig.face);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren