This commit is contained in:
Anuken
2020-06-17 12:17:29 -04:00
parent 3c02234a3b
commit 2bfe0c30ec
4 changed files with 4 additions and 6 deletions

View File

@@ -144,10 +144,8 @@ public class CustomRulesDialog extends BaseDialog{
main.button("$configure",
() -> loadoutDialog.show(Blocks.coreShard.itemCapacity, rules.loadout,
() -> {
rules.loadout.clear();
rules.loadout.add(new ItemStack(Items.copper, 100));
}, () -> {}, () -> {}
() -> rules.loadout.clear().add(new ItemStack(Items.copper, 100)),
() -> {}, () -> {}
)).left().width(300f);
main.row();