Updating to 14.23.5.2808; naming fixes where necessary

This commit is contained in:
Dave Smith committed 2019-02-24 12:21:48 -07:00
1 parent a79a3e1658
commit 8d3f8df49c
93 files changed
+171 -177

No files matched your search

+4 -4
View File
@@ -95,7 +95,7 @@ public class Gas
* Gets the unlocalized name of this Gas.
* @return this Gas's unlocalized name
*/
public String getUnlocalizedName()
public String getTranslationKey()
{
return "gas." + unlocalizedName;
}
@@ -106,7 +106,7 @@ public class Gas
*/
public String getLocalizedName()
{
return I18n.translateToLocal(getUnlocalizedName());
return I18n.translateToLocal(getTranslationKey());
}
/**
@@ -114,7 +114,7 @@ public class Gas
* @param s - unlocalized name to set
* @return this Gas object
*/
public Gas setUnlocalizedName(String s)
public Gas setTranslationKey(String s)
{
unlocalizedName = s;
@@ -210,7 +210,7 @@ public class Gas
*/
public static Gas readFromNBT(NBTTagCompound nbtTags)
{
if(nbtTags == null || nbtTags.hasNoTags())
if(nbtTags == null || nbtTags.isEmpty())
{
return null;
}