eaglercraft-1.8/patches/minecraft/net/minecraft/inventory/ContainerPlayer.edit.java
2023-01-03 22:25:02 -08:00

28 lines
512 B
Java

# Eagler Context Redacted Diff
# Copyright (c) 2023 lax1dude. All rights reserved.
# Version: 1.0
# Author: lax1dude
> DELETE 6 @ 6 : 12
> CHANGE 23 : 25 @ 23 : 24
~ for (int k = 0; k < 4; ++k) {
~ final int k2 = k;
> CHANGE 9 : 10 @ 9 : 10
~ ? ((ItemArmor) itemstack.getItem()).armorType == k2
> CHANGE 1 : 2 @ 1 : 2
~ && itemstack.getItem() != Items.skull ? false : k2 == 0));
> CHANGE 3 : 4 @ 3 : 4
~ return ItemArmor.EMPTY_SLOT_NAMES[k2];
> EOF