From 9d08d6c58a0622d31494d612d5b401a1fed186df Mon Sep 17 00:00:00 2001 From: OnyxDarkKnight Date: Fri, 8 May 2015 18:12:00 +0100 Subject: Fixed a few things as well as working towards having the ability to translate everything --- src/main/java/darkknight/jewelrycraft/curses/CurseGreed.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main/java/darkknight/jewelrycraft/curses/CurseGreed.java') diff --git a/src/main/java/darkknight/jewelrycraft/curses/CurseGreed.java b/src/main/java/darkknight/jewelrycraft/curses/CurseGreed.java index cc45877..de555b9 100644 --- a/src/main/java/darkknight/jewelrycraft/curses/CurseGreed.java +++ b/src/main/java/darkknight/jewelrycraft/curses/CurseGreed.java @@ -1,9 +1,11 @@ package darkknight.jewelrycraft.curses; import darkknight.jewelrycraft.api.Curse; +import darkknight.jewelrycraft.util.Variables; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.potion.Potion; import net.minecraft.potion.PotionEffect; +import net.minecraft.util.StatCollector; import net.minecraft.world.World; public class CurseGreed extends Curse @@ -26,6 +28,6 @@ public class CurseGreed extends Curse public String getDescription() { - return "You might need that later"; + return StatCollector.translateToLocal("curse." + Variables.MODID + ".greed.description"); } } -- cgit v1.2.3