Fix inverted redstone conditions in prism. Closes #167

This commit is contained in:
Vincent Lee committed 2016-03-08 22:44:31 -06:00
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) {