mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-16 18:44:43 +00:00
Fix my breakage of the altar checking
This commit is contained in:
1 parent
250debb604
commit
83b26eb033
1 file changed
+2
-7
+2
-7
@@ -130,15 +130,10 @@ public class UpgradedAltars
|
||||
Block block = world.getBlock(x + ac.getX(), y + ac.getY(), z + ac.getZ());
|
||||
int metadata = world.getBlockMetadata(x + ac.getX(), y + ac.getY(), z + ac.getZ());
|
||||
|
||||
if (ac.getBlock() == Blocks.beacon) {
|
||||
|
||||
if (block instanceof BlockBeacon)
|
||||
return true;
|
||||
}
|
||||
|
||||
if (((ac.getBlock() != block) || (ac.getMetadata() != metadata)) && !(ac.getBlock() == Blocks.stonebrick && !world.isAirBlock(x + ac.getX(), y + ac.getY(), z + ac.getZ())))
|
||||
{
|
||||
return false;
|
||||
if (!(ac.getBlock() == Blocks.beacon && block instanceof BlockBeacon))
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user