Skip to content

Commit

Permalink
Update WorkAtComposter.java.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Matyrobbrt authored Jun 24, 2024
1 parent dc5d022 commit f29a03b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
int i = 20;
int j = 10;
- int[] aint = new int[COMPOSTABLE_ITEMS.size()];
+ it.unimi.dsi.fastutil.objects.Reference2IntMap<Item> amounts = new it.unimi.dsi.fastutil.objects.Reference2IntOpenHashMap<>(COMPOSTABLE_ITEMS.size() * 2); // Let's assume that there's roughly twice more villager compostables than in vanilla
+ it.unimi.dsi.fastutil.objects.Reference2IntMap<Item> amounts = new it.unimi.dsi.fastutil.objects.Reference2IntOpenHashMap<>(COMPOSTABLE_ITEMS.size() * 2); // Neo: let's assume that there's roughly twice more villager compostables than in vanilla
SimpleContainer simplecontainer = p_24794_.getInventory();
int k = simplecontainer.getContainerSize();
BlockState blockstate = p_24796_;
Expand Down

0 comments on commit f29a03b

Please sign in to comment.