improved .heads

This commit is contained in:
Cloudburst
2021-06-12 16:36:52 +02:00
parent aa40213b24
commit 527cf827ba
3 changed files with 14 additions and 8 deletions

View File

@@ -98,6 +98,11 @@ public class HeadScreen extends WindowScreen {
give.action = () -> {
addItem(head);
};
WButton equip = t.add(theme.button("Equip")).widget();
equip.tooltip = "Equip client-side.";
equip.action = () -> {
mc.player.getInventory().armor.set(3, head);
};
t.row();
}
set();