This commit is contained in:
Jesse Boyd 2017-09-20 17:10:36 +10:00
parent 0b9def20ea
commit cf4683b876
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F
2 changed files with 2 additions and 1 deletions

View File

@ -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;
}

View File

@ -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() {