mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-25 11:35:18 +01:00
parent
412202e105
commit
8d66ce776c
@ -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