Update localization

This commit is contained in:
Adaptivity committed 2015-02-14 14:40:10 +03:00
1 parent 9805fc31aa
commit 9da01196ad
7 files changed
+27 -10

No files matched your search

@@ -459,7 +459,7 @@ public class FMEventHandler {
public void onTooltip(ItemTooltipEvent event) {
if (event.itemStack.getItem() instanceof ItemWandCasting) {
if (((ItemWandCasting) event.itemStack.getItem()).getRod(event.itemStack).getTag().startsWith("blood") && !event.itemStack.stackTagCompound.getString("ownerName").equals("")) {
event.toolTip.add(StatCollector.translateToLocal("tooltip.currentowner") + event.itemStack.stackTagCompound.getString("ownerName"));
event.toolTip.add(StatCollector.translateToLocal("tooltip.currentowner") + " " + event.itemStack.stackTagCompound.getString("ownerName"));
} else if (((ItemWandCasting) event.itemStack.getItem()).getRod(event.itemStack).getTag().startsWith("neutronium")) {
event.toolTip.add(StatCollector.translateToLocal("tooltip.creativeonly"));
}