mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-01 12:42:05 -07:00
Reduce copying of positions from block states
This commit is contained in:
@@ -63,7 +63,7 @@
|
||||
+ }
|
||||
+
|
||||
+ for (CraftBlockState block : blocks) {
|
||||
+ BlockPosition blockposition2 = new BlockPosition(block.getX(), block.getY(), block.getZ());
|
||||
+ BlockPosition blockposition2 = block.getPosition();
|
||||
+ IBlockData iblockdata = world.getType(blockposition2);
|
||||
+ Fluid fluid = world.getFluid(blockposition2);
|
||||
+ Material material = iblockdata.getMaterial();
|
||||
|
Reference in New Issue
Block a user