mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-22 10:05:12 +01:00
parent
81ea78e003
commit
c92fcc9f9a
@ -97,7 +97,7 @@ public class ItemRewriter {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (item.getAmount() <= 0) item.setAmount((byte) 1);
|
||||
if (item != null && item.getAmount() <= 0) item.setAmount((byte) 1);
|
||||
}
|
||||
|
||||
public static void toServer(Item item) {
|
||||
|
Loading…
Reference in New Issue
Block a user