Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 12:30:06 +01:00
Fixed BLOCK_DAMAGED
Dieser Commit ist enthalten in:
Ursprung
1c9e7f9aee
Commit
0dd9e4873d
@ -303,7 +303,7 @@ public class NetServerHandler extends NetHandler implements ICommandListener {
|
|||||||
|
|
||||||
// CraftBukkit start
|
// CraftBukkit start
|
||||||
CraftPlayer player = getPlayer();
|
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();
|
int blockId = block.getTypeId();
|
||||||
float damage = 0;
|
float damage = 0;
|
||||||
if(Block.byId[blockId] != null) {
|
if(Block.byId[blockId] != null) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren