From 6d66cc04f6dc365dbbdbba0c642b13324903860e Mon Sep 17 00:00:00 2001 From: Dabsunter Date: Tue, 11 Jul 2017 19:24:07 +0200 Subject: [PATCH] Fix piments --- .../src/main/java/net/minecraft/server/BlockPeppers.java | 4 ++-- .../src/main/java/net/minecraft/server/Item.java | 2 +- .../src/main/java/net/minecraft/server/Items.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PaperSpigot-Server/src/main/java/net/minecraft/server/BlockPeppers.java b/PaperSpigot-Server/src/main/java/net/minecraft/server/BlockPeppers.java index 8795248..413438f 100644 --- a/PaperSpigot-Server/src/main/java/net/minecraft/server/BlockPeppers.java +++ b/PaperSpigot-Server/src/main/java/net/minecraft/server/BlockPeppers.java @@ -6,10 +6,10 @@ public class BlockPeppers extends BlockCrops { protected Item i() { - return Items.PEPPERS; + return Items.PEPPER; } protected Item P() { - return Items.PEPPERS; + return Items.PEPPER; } } diff --git a/PaperSpigot-Server/src/main/java/net/minecraft/server/Item.java b/PaperSpigot-Server/src/main/java/net/minecraft/server/Item.java index 7f67609..aa4da26 100644 --- a/PaperSpigot-Server/src/main/java/net/minecraft/server/Item.java +++ b/PaperSpigot-Server/src/main/java/net/minecraft/server/Item.java @@ -237,7 +237,7 @@ public static void l() { REGISTRY.a(id++, "iron_global_tool", new ItemGlobalTool(EnumToolMaterial.IRON).c("gtoolIron").setTextureName("iron_global_tool")); REGISTRY.a(id++, "golden_global_tool", new ItemGlobalTool(EnumToolMaterial.GOLD).c("gtoolGold").setTextureName("gold_global_tool")); REGISTRY.a(id++, "diamond_global_tool", new ItemGlobalTool(EnumToolMaterial.DIAMOND).c("gtoolDiamond").setTextureName("diamond_global_tool")); - REGISTRY.a(id++, "peppers", new ItemSeedFood(4, 0.6F, Blocks.PEPPERS, Blocks.SOIL).j().a(12, 360, 0, 1.0F).e(PotionBrewer.hasteEffect).c("peppers").setTextureName("peppers")); + REGISTRY.a(id++, "pepper", new ItemSeedFood(4, 0.6F, Blocks.PEPPERS, Blocks.SOIL).j().a(12, 360, 0, 1.0F).e(PotionBrewer.hasteEffect).c("peppers").setTextureName("peppers")); REGISTRY.a(id++, "unclaim_finder", new Item().c("unclaimFinder").a(CreativeModeTab.f).setTextureName("unclaim_finder")); id += 4; //TODO: Ajouter les arcs REGISTRY.a(id++, "eldarium_nugget", new Item().c("eldariumNugget").setTextureName("eldarium_nugget").a(CreativeModeTab.l)); diff --git a/PaperSpigot-Server/src/main/java/net/minecraft/server/Items.java b/PaperSpigot-Server/src/main/java/net/minecraft/server/Items.java index 12d4635..1b1caed 100644 --- a/PaperSpigot-Server/src/main/java/net/minecraft/server/Items.java +++ b/PaperSpigot-Server/src/main/java/net/minecraft/server/Items.java @@ -223,7 +223,7 @@ public class Items public static final Item C4 = (Item)Item.REGISTRY.get("c4"); public static final Item TOMAHAWK = (Item)Item.REGISTRY.get("tomahawk"); public static final Item CHEST_ORB = (Item)Item.REGISTRY.get("chest_orb"); - public static final Item PEPPERS = (Item)Item.REGISTRY.get("peppers"); + public static final Item PEPPER = (Item)Item.REGISTRY.get("pepper"); //TODO: ajouter les arcs public static final Item ELDARIUM_NUGGET = (Item)Item.REGISTRY.get("eldarium_nugget"); public static final Item wooden_global_tool = (Item)Item.REGISTRY.get("wooden_global_tool");