mirror of
https://github.com/GTNewHorizons/Gravitation-Suite-Neo.git
synced 2026-10-25 20:22:30 +00:00
fix vajra voiding
This commit is contained in:
1 parent
823ee19cc7
commit
c207fad52d
1 file changed
+4
-2
@@ -87,8 +87,10 @@ public class MixinItemVajra {
|
||||
private void gravisuiteneo$fixCallOrder(Block block, World world, EntityPlayer player, int x, int y, int z,
|
||||
int meta) {
|
||||
block.onBlockHarvested(world, x, y, z, meta, player);
|
||||
world.setBlockToAir(x, y, z);
|
||||
block.harvestBlock(world, player, x, y, z, meta);
|
||||
if (block.removedByPlayer(world, player, x, y, z, true)) {
|
||||
block.onBlockDestroyedByPlayer(world, x, y, z, meta);
|
||||
block.harvestBlock(world, player, x, y, z, meta);
|
||||
}
|
||||
}
|
||||
|
||||
// This one makes sure that if we're mining a block that canSilkHarvest it still gets set to air, since we yeeted
|
||||
|
||||
Reference in new issue
Block a user