The Meaning of Life, the Universe, and Everything.
Join Date:
8/20/2012
Posts:
42
Member Details
I'm making a CTM adventure map and at the end of the map, I have the wool monument and a bunch of command blocks running /testforblock with their respective wool colors and if that's successful (i.e. the player has placed the wool 3 blocks above the command block), it places redstone wire a few blocks away with /setblock. When all command blocks have tested true, the redstone circuit is completed and runs some more command blocks. Screenshot:
My problem is this: the command blocks running /tesforblock always return true even if the block they're testing isn't the block they're testing for. When the comparators from each block turn on, the only way to get them to turn off is to break the command block. Is this a bug with /testforblock? As seen in this screenshot,
I can even write nonsense after /testforblock and it still turns the comparator on when I give the command block a signal with the lever.My server that's running this world is Bukkit 1.7.2 but I have the same problem with the vanilla 1.7.2 as well. The exact command I put into one of the blocks is "/testforblock ~ ~3 ~ 35 14" (testing for red wool).
Problem is now solved but I don't know what fixed it...
The Meaning of Life, the Universe, and Everything.
Join Date:
8/20/2012
Posts:
42
Member Details
I realize I probably posted this in the wrong section. If a mod could move this to Redstone discussion (or another more appropriate forum section), I'd appreciate it.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Problem is now solved but I don't know what fixed it...