mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-12-29 04:28:04 +01:00
Fixed issue with the block lag fix dropping item stacks of 0 quantity.
This commit is contained in:
parent
e15311178b
commit
57acbebaf1
@ -544,7 +544,7 @@ else if (type == 18) { // Leaves
|
|||||||
if (dropItem > 0) {
|
if (dropItem > 0) {
|
||||||
for (int i = 0; i < count; i++) {
|
for (int i = 0; i < count; i++) {
|
||||||
etc.getServer().dropItem(block.getX(), block.getY(), block.getZ(),
|
etc.getServer().dropItem(block.getX(), block.getY(), block.getZ(),
|
||||||
dropItem, i);
|
dropItem, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Drop flint with gravel
|
// Drop flint with gravel
|
||||||
|
Loading…
Reference in New Issue
Block a user