Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
ffb7c7b5ae
@ -869,7 +869,7 @@ class MatteryPlayerCapability(val ply: Player) : ICapabilityProvider, INBTSerial
|
||||
*/
|
||||
@JvmStatic
|
||||
fun inventoryAddItemHookPre(inventory: Inventory, item: ItemStack) {
|
||||
if (item.isEmpty) {
|
||||
if (item.isEmpty || !item.isStackable) {
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user