mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-21 12:42:50 +00:00
Lotsa cleanup
This commit is contained in:
1 parent
4610f1e617
commit
c904244bcc
102 files changed
+1282
-1351
No files matched your search
@@ -165,18 +165,18 @@ public class BlockAltar extends BlockModContainer implements ILexiconable {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fillWithRain(World world, int x, int y, int z) {
|
||||
if(world.rand.nextInt(20) == 1) {
|
||||
TileEntity tile = world.getTileEntity(x, y, z);
|
||||
if(tile instanceof TileAltar) {
|
||||
TileAltar altar = (TileAltar) tile;
|
||||
if(!altar.hasLava && !altar.hasWater)
|
||||
altar.setWater(true);
|
||||
public void fillWithRain(World world, int x, int y, int z) {
|
||||
if(world.rand.nextInt(20) == 1) {
|
||||
TileEntity tile = world.getTileEntity(x, y, z);
|
||||
if(tile instanceof TileAltar) {
|
||||
TileAltar altar = (TileAltar) tile;
|
||||
if(!altar.hasLava && !altar.hasWater)
|
||||
altar.setWater(true);
|
||||
world.func_147453_f(x, y, z, this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public int damageDropped(int meta) {
|
||||
return meta;
|
||||
|
||||
Reference in new issue
Block a user