mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-19 19:25:48 +00:00
Update src/main/java/io/github/thebusybiscuit/slimefun4/core/networks/cargo/CargoUtils.java
Co-authored-by: TheBusyBiscuit <TheBusyBiscuit@users.noreply.github.com>
This commit is contained in:
parent
cda2228a7d
commit
d23f1265b3
@ -185,7 +185,7 @@ final class CargoUtils {
|
||||
for (int slot = minSlot; slot < maxSlot; slot++) {
|
||||
// Changes to these ItemStacks are synchronized with the Item in the Inventory
|
||||
ItemStack itemInSlot = contents[slot];
|
||||
if (itemInSlot == null || itemInSlot.getType() == Material.AIR) {
|
||||
if (itemInSlot == null || itemInSlot.getType().isAir()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user