mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-10-26 14:24:22 +00:00
Fix inverted redstone conditions in prism. Closes #167
This commit is contained in:
1 parent
3097dde357
commit
3a9f0b346e
1 file changed
+1
-1
@@ -24,7 +24,7 @@ public class TilePrism extends TileSimpleInventory implements IManaCollisionGhos
|
||||
|
||||
public void onBurstCollision(IManaBurst burst) {
|
||||
ItemStack lens = itemHandler.getStackInSlot(0);
|
||||
boolean active = worldObj.getBlockState(getPos()).getValue(BotaniaStateProps.POWERED);
|
||||
boolean active = !worldObj.getBlockState(getPos()).getValue(BotaniaStateProps.POWERED);
|
||||
boolean valid = lens != null && lens.getItem() instanceof ILens && (!(lens.getItem() instanceof ITinyPlanetExcempt) || ((ITinyPlanetExcempt) lens.getItem()).shouldPull(lens));
|
||||
|
||||
if(active) {
|
||||
|
||||
Reference in new issue
Block a user