Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-24 01:50:06 +01:00
Fix cycler tool trying to set negative data values.
Fixes WORLDEDIT-3325.
Dieser Commit ist enthalten in:
Ursprung
1dd6faf786
Commit
9a65bdb72d
@ -60,7 +60,7 @@ public class BlockDataCyler implements DoubleActionBlockTool {
|
||||
BaseBlock block = new BaseBlock(type, BlockData.cycle(type, data, increment));
|
||||
EditSession editSession = session.createEditSession(player);
|
||||
|
||||
if (data < 0) {
|
||||
if (block.getData() < 0) {
|
||||
player.printError("That block's data cannot be cycled!");
|
||||
} else {
|
||||
try {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren