3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-25 02:20:07 +01:00

Fix cycler tool trying to set negative data values.

Fixes WORLDEDIT-3325.
Dieser Commit ist enthalten in:
wizjany 2015-07-31 12:46:51 -04:00
Ursprung 1dd6faf786
Commit 9a65bdb72d

Datei anzeigen

@ -60,7 +60,7 @@ public class BlockDataCyler implements DoubleActionBlockTool {
BaseBlock block = new BaseBlock(type, BlockData.cycle(type, data, increment)); BaseBlock block = new BaseBlock(type, BlockData.cycle(type, data, increment));
EditSession editSession = session.createEditSession(player); EditSession editSession = session.createEditSession(player);
if (data < 0) { if (block.getData() < 0) {
player.printError("That block's data cannot be cycled!"); player.printError("That block's data cannot be cycled!");
} else { } else {
try { try {