ZOMBIE->SKELETON

fixed an issue where zombie horse spawn eggs were crafted instead of skeleton horse spawn eggs.
This commit is contained in:
Paul Reilly 2020-07-12 18:52:19 -05:00
parent 0f6a8d1041
commit a5c024ee76
4 changed files with 12 additions and 13 deletions

View File

@ -2,7 +2,6 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="b7e3dfbd-dfc6-4dd5-b2c6-f110c120ecb3" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/dev/coomware/Craftable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/dev/coomware/Craftable.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/target/Uncraftables-1.0.0.jar" beforeDir="false" afterPath="$PROJECT_DIR$/target/Uncraftables-1.0.0.jar" afterDir="false" />
</list>
@ -61,26 +60,26 @@
<screen x="0" y="0" width="1280" height="720" />
</state>
<state x="446" y="70" key="#com.intellij.ide.util.MemberChooser/0.0.1280.720@0.0.1280.720" timestamp="1594491647536" />
<state width="1236" height="176" key="GridCell.Tab.0.bottom" timestamp="1594596932324">
<state width="1236" height="176" key="GridCell.Tab.0.bottom" timestamp="1594597775340">
<screen x="0" y="0" width="1280" height="720" />
</state>
<state width="1236" height="176" key="GridCell.Tab.0.bottom/0.0.1280.720@0.0.1280.720" timestamp="1594596932324" />
<state width="1236" height="176" key="GridCell.Tab.0.center" timestamp="1594596932324">
<state width="1236" height="176" key="GridCell.Tab.0.bottom/0.0.1280.720@0.0.1280.720" timestamp="1594597775340" />
<state width="1236" height="176" key="GridCell.Tab.0.center" timestamp="1594597775340">
<screen x="0" y="0" width="1280" height="720" />
</state>
<state width="1236" height="176" key="GridCell.Tab.0.center/0.0.1280.720@0.0.1280.720" timestamp="1594596932324" />
<state width="1236" height="176" key="GridCell.Tab.0.left" timestamp="1594596932324">
<state width="1236" height="176" key="GridCell.Tab.0.center/0.0.1280.720@0.0.1280.720" timestamp="1594597775340" />
<state width="1236" height="176" key="GridCell.Tab.0.left" timestamp="1594597775340">
<screen x="0" y="0" width="1280" height="720" />
</state>
<state width="1236" height="176" key="GridCell.Tab.0.left/0.0.1280.720@0.0.1280.720" timestamp="1594596932324" />
<state width="1236" height="176" key="GridCell.Tab.0.right" timestamp="1594596932324">
<state width="1236" height="176" key="GridCell.Tab.0.left/0.0.1280.720@0.0.1280.720" timestamp="1594597775340" />
<state width="1236" height="176" key="GridCell.Tab.0.right" timestamp="1594597775340">
<screen x="0" y="0" width="1280" height="720" />
</state>
<state width="1236" height="176" key="GridCell.Tab.0.right/0.0.1280.720@0.0.1280.720" timestamp="1594596932324" />
<state x="337" y="185" key="com.intellij.ide.util.TipDialog" timestamp="1594596799040">
<state width="1236" height="176" key="GridCell.Tab.0.right/0.0.1280.720@0.0.1280.720" timestamp="1594597775340" />
<state x="337" y="185" key="com.intellij.ide.util.TipDialog" timestamp="1594597702808">
<screen x="0" y="0" width="1280" height="720" />
</state>
<state x="337" y="185" key="com.intellij.ide.util.TipDialog/0.0.1280.720@0.0.1280.720" timestamp="1594596799040" />
<state x="337" y="185" key="com.intellij.ide.util.TipDialog/0.0.1280.720@0.0.1280.720" timestamp="1594597702808" />
<state x="303" y="41" width="672" height="678" key="search.everywhere.popup" timestamp="1594590229840">
<screen x="0" y="0" width="1280" height="720" />
</state>

View File

@ -913,8 +913,8 @@ public class Craftable {
}
private void sHorseEgg() {
ShapelessRecipe recipe = util.shapeless(Material.ZOMBIE_HORSE_SPAWN_EGG, "s_horse_egg_recipe");
recipe.addIngredient(2, Material.SKELETON_SPAWN_EGG);
ShapelessRecipe recipe = util.shapeless(Material.SKELETON_HORSE_SPAWN_EGG, "s_horse_egg_recipe");
recipe.addIngredient(1, Material.SKELETON_SPAWN_EGG);
recipe.addIngredient(1, Material.HORSE_SPAWN_EGG);
plugin.server.addRecipe(recipe);
}

Binary file not shown.