Apply obsidian generator disabling to tripwire.

This commit is contained in:
wizjany 2014-05-07 13:05:51 -04:00
parent 0dd9729b35
commit 22f45c45ee

View File

@ -266,8 +266,9 @@ public void onBlockFromTo(BlockFromToEvent event) {
} }
if (wcfg.disableObsidianGenerators && (isAir || isLava) if (wcfg.disableObsidianGenerators && (isAir || isLava)
&& blockTo.getTypeId() == 55) { && (blockTo.getTypeId() == BlockID.REDSTONE_WIRE
blockTo.setTypeId(0); || blockTo.getTypeId() == BlockID.TRIPWIRE)) {
blockTo.setTypeId(BlockID.AIR);
return; return;
} }
} }