mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-12-26 02:17:40 +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