mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-26 22:40:21 +01:00
Fix recipe book items order (#11787)
This commit is contained in:
parent
bd4c235c2f
commit
793d36106d
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
- return new RecipeMap(builder.build(), builder1.build());
|
- return new RecipeMap(builder.build(), builder1.build());
|
||||||
- }
|
- }
|
||||||
+ // CraftBukkit start - mutable
|
+ // CraftBukkit start - mutable
|
||||||
+ return new RecipeMap(com.google.common.collect.LinkedHashMultimap.create(builder.build()), com.google.common.collect.Maps.newHashMap(builder1.build()));
|
+ return new RecipeMap(com.google.common.collect.LinkedHashMultimap.create(builder.build()), com.google.common.collect.Maps.newLinkedHashMap(builder1.build()));
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ public void addRecipe(RecipeHolder<?> holder) {
|
+ public void addRecipe(RecipeHolder<?> holder) {
|
||||||
|
|
Loading…
Reference in a new issue