mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 16:58:34 +01:00
fix the fix
This commit is contained in:
parent
e60b09c8e6
commit
7d28a500f4
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ public class WorldGenLushCaves extends WorldGenerator{
|
||||||
//If this isn't checked, the game crashes because it tries to destroy a chest that doesn't have any loot yet :v
|
//If this isn't checked, the game crashes because it tries to destroy a chest that doesn't have any loot yet :v
|
||||||
TileEntity tile = world.getTileEntity(pos);
|
TileEntity tile = world.getTileEntity(pos);
|
||||||
if(tile instanceof ILootContainer){
|
if(tile instanceof ILootContainer){
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue