mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-09-30 07:57:36 +02:00
Fixes #747
This commit is contained in:
parent
0b9def20ea
commit
cf4683b876
@ -163,6 +163,7 @@ public class BukkitPlayerBlockBag extends BlockBag implements SlottableBlockBag
|
|||||||
bukkitItem.setAmount(currentAmount - 1);
|
bukkitItem.setAmount(currentAmount - 1);
|
||||||
found = true;
|
found = true;
|
||||||
} else {
|
} else {
|
||||||
|
bukkitItem.setAmount(0);
|
||||||
items[slot] = null;
|
items[slot] = null;
|
||||||
found = true;
|
found = true;
|
||||||
}
|
}
|
||||||
|
@ -116,7 +116,7 @@ public class BlockBagExtent extends AbstractDelegateExtent {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return super.setBlock(x, y, z, block);
|
return getExtent().setBlock(x, y, z, block);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Class<?> inject() {
|
public static Class<?> inject() {
|
||||||
|
Loading…
Reference in New Issue
Block a user