diff --git a/src/main/java/us/camin/Plugin.java b/src/main/java/us/camin/Plugin.java index 094d73b..29c5f31 100644 --- a/src/main/java/us/camin/Plugin.java +++ b/src/main/java/us/camin/Plugin.java @@ -286,7 +286,6 @@ public class Plugin extends JavaPlugin { ItemStack item = items.next(); PlayerVaultSlot slot = new PlayerVaultSlot(); slot.position = i; - slot.quantity = -1; if (item != null) { slot.item = item.getTypeId(); slot.quantity = item.getAmount(); diff --git a/src/main/java/us/camin/api/PlayerVaultSlot.java b/src/main/java/us/camin/api/PlayerVaultSlot.java index 5de44dc..6ead6c4 100644 --- a/src/main/java/us/camin/api/PlayerVaultSlot.java +++ b/src/main/java/us/camin/api/PlayerVaultSlot.java @@ -19,10 +19,10 @@ package us.camin.api; public class PlayerVaultSlot { - public int item; - public int quantity; - public int id; - public short damage; - public Byte data; - public int position; + public int item = 0; + public int quantity = 0; + public int id = 0; + public short damage = 0; + public Byte data = 0; + public int position = 0; }