Skip to content

Commit

Permalink
API update
Browse files Browse the repository at this point in the history
  • Loading branch information
bea4dev committed Jul 9, 2022
1 parent 7fb3491 commit 621d496
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public Object rewrite(Object packet, ParallelPlayer parallelPlayer, boolean cach

BlockData blockData = parallelWorld.getBlockData(bp.getX(), bp.getY(), bp.getZ());
if(blockData == null) return packet;
if(blockData.getMaterial() == Material.AIR) return packet;
//if(blockData.getMaterial() == Material.AIR) return packet;

PacketPlayOutBlockChange newPacket = new PacketPlayOutBlockChange();
a.set(newPacket, bp);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public Object rewrite(Object packet, ParallelPlayer parallelPlayer, boolean cach

BlockData blockData = parallelWorld.getBlockData(bp.getX(), bp.getY(), bp.getZ());
if(blockData == null) return packet;
if(blockData.getMaterial() == Material.AIR) return packet;
//if(blockData.getMaterial() == Material.AIR) return packet;

PacketPlayOutBlockChange newPacket = new PacketPlayOutBlockChange();
a.set(newPacket, bp);
Expand Down

0 comments on commit 621d496

Please sign in to comment.