mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-01 04:31:58 +01:00
Fixed BLOCK_DAMAGED
This commit is contained in:
parent
1c9e7f9aee
commit
0dd9e4873d
1 changed files with 1 additions and 1 deletions
|
@ -303,7 +303,7 @@ public class NetServerHandler extends NetHandler implements ICommandListener {
|
|||
|
||||
// CraftBukkit start
|
||||
CraftPlayer player = getPlayer();
|
||||
CraftBlock block = (CraftBlock) player.getWorld().getBlockAt(l, i1, j1);
|
||||
CraftBlock block = (CraftBlock) player.getWorld().getBlockAt(i, j, k);
|
||||
int blockId = block.getTypeId();
|
||||
float damage = 0;
|
||||
if(Block.byId[blockId] != null) {
|
||||
|
|
Loading…
Reference in a new issue