mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-28 13:36:16 +01:00
Fixed a couple of minor obf translations
This commit is contained in:
parent
cdbd318bb5
commit
35defecc41
@ -174,7 +174,7 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
|
|||||||
bworld.dropItemNaturally(bukkitEntity.getLocation(), stack);
|
bworld.dropItemNaturally(bukkitEntity.getLocation(), stack);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.y();
|
this.x();
|
||||||
// CraftBukkit end
|
// CraftBukkit end
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -114,8 +114,11 @@ public class ItemBlock extends Item {
|
|||||||
|
|
||||||
// CraftBukkit end
|
// CraftBukkit end
|
||||||
|
|
||||||
Block.byId[this.id].postPlace(world, i, j, k, l);
|
if (world.getTypeId(i, j, k) == this.id) {
|
||||||
Block.byId[this.id].postPlace(world, i, j, k, entityhuman);
|
Block.byId[this.id].postPlace(world, i, j, k, l);
|
||||||
|
Block.byId[this.id].postPlace(world, i, j, k, entityhuman);
|
||||||
|
}
|
||||||
|
|
||||||
world.makeSound((double) ((float) i + 0.5F), (double) ((float) j + 0.5F), (double) ((float) k + 0.5F), block.stepSound.getName(), (block.stepSound.getVolume1() + 1.0F) / 2.0F, block.stepSound.getVolume2() * 0.8F);
|
world.makeSound((double) ((float) i + 0.5F), (double) ((float) j + 0.5F), (double) ((float) k + 0.5F), block.stepSound.getName(), (block.stepSound.getVolume1() + 1.0F) / 2.0F, block.stepSound.getVolume2() * 0.8F);
|
||||||
--itemstack.count;
|
--itemstack.count;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user