mirror of
https://github.com/GTNewHorizons/ForbiddenMagic.git
synced 2026-11-17 19:05:27 +00:00
Update localization
This commit is contained in:
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"));
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ public class ItemDivineOrb extends Item implements IBloodOrb, IBindable, IWarpin
|
||||
list.add(StatCollector.translateToLocal("tooltip.divineorb"));
|
||||
|
||||
if (!(stack.stackTagCompound == null)) {
|
||||
list.add(StatCollector.translateToLocal("tooltip.currentowner") + stack.stackTagCompound.getString("ownerName"));
|
||||
list.add(StatCollector.translateToLocal("tooltip.currentowner") + " " + stack.stackTagCompound.getString("ownerName"));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -85,7 +85,7 @@ public class ItemSubCollar extends ItemAmuletVis {
|
||||
}
|
||||
}
|
||||
if(stack.stackTagCompound.hasKey("owner"))
|
||||
list.add(StatCollector.translateToLocal("tooltip.collar.owner") + stack.stackTagCompound.getString("owner"));
|
||||
list.add(StatCollector.translateToLocal("tooltip.collar.owner") + " " + stack.stackTagCompound.getString("owner"));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@ public class ItemBloodwell extends Item implements IScribeTools, IBindable {
|
||||
public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean z) {
|
||||
if (stack.hasTagCompound()) {
|
||||
list.add("");
|
||||
list.add(StatCollector.translateToLocal("tooltip.currentowner") + stack.stackTagCompound.getString("ownerName"));
|
||||
list.add(StatCollector.translateToLocal("tooltip.currentowner") + " " + stack.stackTagCompound.getString("ownerName"));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -81,7 +81,7 @@ public class ItemBoundwell extends Item implements IScribeTools, IBindable{
|
||||
public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean z) {
|
||||
if (stack.hasTagCompound()) {
|
||||
list.add("");
|
||||
list.add(StatCollector.translateToLocal("tooltip.currentowner") + stack.stackTagCompound.getString("ownerName"));
|
||||
list.add(StatCollector.translateToLocal("tooltip.currentowner") + " " + stack.stackTagCompound.getString("ownerName"));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user