mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-03-04 06:44:40 +01:00
NBA Superstar
- Fix throwing packages in creative taking away the package
This commit is contained in:
parent
0c277b1b95
commit
ddb56e3815
1 changed files with 2 additions and 5 deletions
|
@ -366,11 +366,8 @@ public class PackageItem extends Item {
|
|||
SoundSource.NEUTRAL, 0.5F, 0.5F);
|
||||
|
||||
ItemStack copy = stack.copy();
|
||||
stack.shrink(1);
|
||||
|
||||
if (stack.isEmpty())
|
||||
player.getInventory()
|
||||
.removeItem(stack);
|
||||
if (!player.getAbilities().instabuild)
|
||||
stack.shrink(1);
|
||||
|
||||
Vec3 vec = new Vec3(entity.getX(), entity.getY() + entity.getBoundingBox()
|
||||
.getYsize() / 2f, entity.getZ());
|
||||
|
|
Loading…
Add table
Reference in a new issue