Wrap immutable list in normal arraylist to fix errors with adding

This commit is contained in:
Brady 2018-08-29 20:35:57 -05:00
parent 1734caeed8
commit 606581b044
No known key found for this signature in database
GPG Key ID: 73A788379A197567
1 changed files with 2 additions and 2 deletions

View File

@ -65,11 +65,11 @@ public class Settings {
/**
* Blocks that Baritone is allowed to place (as throwaway, for sneak bridging, pillaring, etc.)
*/
public Setting<List<Item>> acceptableThrowawayItems = new Setting<>(Arrays.asList(
public Setting<List<Item>> acceptableThrowawayItems = new Setting<>(new ArrayList<>(Arrays.asList(
Item.getItemFromBlock(Blocks.DIRT),
Item.getItemFromBlock(Blocks.COBBLESTONE),
Item.getItemFromBlock(Blocks.NETHERRACK)
));
)));
/**
* Enables some more advanced vine features. They're honestly just gimmicks and won't ever be needed in real