mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-22 05:02:30 +00:00
Applied a hard cap to the Paintslinger lens before it crashes a server.
This commit is contained in:
1 parent
b6d564716c
commit
cf0c1d1679
1 file changed
+1
-1
@@ -322,7 +322,7 @@ public class ItemLens extends ItemMod implements ILens {
|
||||
coordsFound.add(coords_);
|
||||
}
|
||||
}
|
||||
} while(!coordsFound.isEmpty());
|
||||
} while(!coordsFound.isEmpty() && coordsToPaint.size() < 1000);
|
||||
|
||||
for(ChunkCoordinates coords : coordsToPaint)
|
||||
entity.worldObj.setBlockMetadataWithNotify(coords.posX, coords.posY, coords.posZ, storedColor, 2);
|
||||
|
||||
Reference in new issue
Block a user