Merge pull request #1211 from Antifluxfield/patch-2
Fix localization of Item Distributor
This commit is contained in:
commit
58a8eb5b6b
2 changed files with 3 additions and 2 deletions
|
@ -316,6 +316,7 @@ public class GT_LanguageManager {
|
|||
// addStringLocalization("Interaction_DESCRIPTION_Index_208", "Grab");
|
||||
// addStringLocalization("Interaction_DESCRIPTION_Index_209", "Grab");
|
||||
// addStringLocalization("Interaction_DESCRIPTION_Index_210", "Grab");
|
||||
addStringLocalization("Interaction_DESCRIPTION_Index_211", "Items per side: ");
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -153,7 +153,7 @@ public class GT_MetaTileEntity_ItemDistributor extends GT_MetaTileEntity_Buffer
|
|||
//Adjust items per side by 1 or -1, constrained to the cyclic interval [0, 127]
|
||||
itemsPerSide[aSide] += aPlayer.isSneaking() ? -1 : 1;
|
||||
itemsPerSide[aSide] = (byte) ((itemsPerSide[aSide] + 128) % 128);
|
||||
GT_Utility.sendChatToPlayer(aPlayer, trans("110", "Items per side: " + itemsPerSide[aSide]));
|
||||
GT_Utility.sendChatToPlayer(aPlayer, trans("211", "Items per side: ") + itemsPerSide[aSide]);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue