mirror of
https://github.com/GTNewHorizons/Draconic-Evolution.git
synced 2026-11-20 12:19:34 +00:00
Removed unnecessary block update
This commit is contained in:
1 parent
4d6cb55209
commit
20ccdda09e
2 files changed
-2
No files matched your search
-1
@@ -149,7 +149,6 @@ public class PlayerDetector extends BlockDE implements ITileEntityProvider {
|
||||
@Override
|
||||
public void breakBlock(World world, int x, int y, int z, Block blockBroken, int metadata) {
|
||||
super.breakBlock(world, x, y, z, blockBroken, metadata);
|
||||
world.notifyBlocksOfNeighborChange(x, y, z, blockBroken);
|
||||
for (ForgeDirection direction : ForgeDirection.VALID_DIRECTIONS) {
|
||||
world.notifyBlocksOfNeighborChange(
|
||||
x + direction.offsetX,
|
||||
|
||||
-1
@@ -167,7 +167,6 @@ public class PlayerDetectorAdvanced extends BlockCustomDrop {
|
||||
@Override
|
||||
public void breakBlock(World world, int x, int y, int z, Block blockBroken, int metadata) {
|
||||
super.breakBlock(world, x, y, z, blockBroken, metadata);
|
||||
world.notifyBlocksOfNeighborChange(x, y, z, blockBroken);
|
||||
for (ForgeDirection direction : ForgeDirection.VALID_DIRECTIONS) {
|
||||
world.notifyBlocksOfNeighborChange(
|
||||
x + direction.offsetX,
|
||||
|
||||
Reference in new issue
Block a user