mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-18 13:53:49 -07:00
@@ -30,19 +30,19 @@ public class CraftInventoryPlayer extends CraftInventory implements PlayerInvent
|
||||
return getInventory().c;
|
||||
}
|
||||
|
||||
public CraftItemStack getHelmet() {
|
||||
public ItemStack getHelmet() {
|
||||
return getItem( getSize() + 3 );
|
||||
}
|
||||
|
||||
public CraftItemStack getChestplate() {
|
||||
public ItemStack getChestplate() {
|
||||
return getItem( getSize() + 2 );
|
||||
}
|
||||
|
||||
public CraftItemStack getLeggings() {
|
||||
public ItemStack getLeggings() {
|
||||
return getItem( getSize() + 1 );
|
||||
}
|
||||
|
||||
public CraftItemStack getBoots() {
|
||||
public ItemStack getBoots() {
|
||||
return getItem( getSize() + 0 );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user