mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-21 12:42:53 +00:00
[1.7.10] Some refactoring (#102)
* Some refactoring * Some refactoring Added some localization * Added some localization Fix wrong branch localization in page branch overview Simplify some localization * Simplify some localization * Removed unused localize method * Simplify some localization * Removed proxy.localise method * Simplify localization
This commit is contained in:
1 parent
81301c3bd2
commit
1ffaad9fcd
232 files changed
+1947
-2054
No files matched your search
@@ -2,8 +2,9 @@ package binnie.genetics.item;
|
||||
|
||||
import binnie.Binnie;
|
||||
import binnie.core.genetics.Gene;
|
||||
import binnie.genetics.GeneticsCreativeTab;
|
||||
import binnie.core.util.I18N;
|
||||
import binnie.genetics.Genetics;
|
||||
import binnie.genetics.GeneticsCreativeTab;
|
||||
import binnie.genetics.api.IGene;
|
||||
import binnie.genetics.api.IItemAnalysable;
|
||||
import binnie.genetics.api.IItemChargable;
|
||||
@@ -55,7 +56,7 @@ public class ItemSequence extends Item implements IItemAnalysable, IItemChargabl
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void addInformation(ItemStack stack, EntityPlayer player, List tooltip, boolean advanced) {
|
||||
super.addInformation(stack, player, tooltip, advanced);
|
||||
tooltip.add(Genetics.proxy.localise("item.sequence." + (5 - stack.getItemDamage() % 6)));
|
||||
tooltip.add(I18N.localise("genetics.item.sequence." + (5 - stack.getItemDamage() % 6)));
|
||||
SequencerItem gene = new SequencerItem(stack);
|
||||
if (gene.isCorrupted()) {
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user