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);
|
||||
found = true;
|
||||
} else {
|
||||
bukkitItem.setAmount(0);
|
||||
items[slot] = null;
|
||||
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() {
|
||||
|
Loading…
Reference in New Issue
Block a user