Add some defaults
This commit is contained in:
parent
26e5b14d6e
commit
2bdcb66388
@ -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();
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user