(int slot)
| 876 | } |
| 877 | |
| 878 | @Override |
| 879 | public ItemStack getItemInArmorSlot(int slot) { |
| 880 | if (getArmorItemBySlot(slot) == null) { |
| 881 | return null; |
| 882 | } |
| 883 | WrappedItemStack wrappedItemStack = new WrappedItemStack(getArmorItemBySlot(slot)); |
| 884 | return "minecraft:air".equals(wrappedItemStack.getKey()) ? null : wrappedItemStack; |
| 885 | } |
| 886 | |
| 887 | public Collection<uy> getActivePlayerPotionEffects() { |
| 888 | return getPlayer().ca(); |
nothing calls this directly
no test coverage detected