mirror of
https://github.com/GTNewHorizons/FindIt.git
synced 2026-11-24 18:24:21 +00:00
Remove hard-dependency on GregTech (#10)
* Update buildscript * Make GregTech a soft-dependency * Small cleanup
This commit is contained in:
1 parent
f31f2e3adf
commit
f6eb09de3a
13 files changed
+451
-87
No files matched your search
@@ -33,6 +33,7 @@ public class WorldUtils {
|
||||
for (int cz = z1 >> 4; cz <= cz1; cz++) {
|
||||
Chunk chunk = world.getChunkFromChunkCoords(cx, cz);
|
||||
if (chunk != null) {
|
||||
@SuppressWarnings("unchecked")
|
||||
Map<ChunkPosition, TileEntity> tiles = chunk.chunkTileEntityMap;
|
||||
for (TileEntity tile : tiles.values()) {
|
||||
if (!tile.isInvalid() && tile.xCoord >= x1
|
||||
|
||||
Reference in new issue
Block a user