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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -73,7 +73,7 @@ public class Rules{
/** Spawn layout. */
public Seq<SpawnGroup> spawns = new Seq<>();
/** Starting items put in cores */
public Seq<ItemStack> loadout = Seq.with(ItemStack.with(Items.copper, 100));
public Seq<ItemStack> loadout = ItemStack.list(Items.copper, 100);
/** Weather events that occur here. */
public Seq<WeatherEntry> weather = new Seq<>(1);
/** Blocks that cannot be placed. */

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();

View File

@ -1,3 +1,3 @@
org.gradle.daemon=true
org.gradle.jvmargs=-Xms256m -Xmx1024m
archash=f76b0c94953c07ef2ac40858b3b615a34911bdf7
archash=bae3e678b96297aed5ca6dbaabcc652da62fa904