mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 23:03:01 +00:00
Fix issue #4; when updating function calls for latest forge in 8d3f8df49c, API was inadvertently broken
This commit is contained in:
1 parent
a86540a198
commit
9475b27785
3 files changed
+30
No files matched your search
@@ -91,6 +91,15 @@ public class Gas
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* DEPRECATED: Gets the unlocalized name of this Gas. Use getTranslationKey instead.
|
||||
* @return this Gas's unlocalized name
|
||||
*/
|
||||
@Deprecated
|
||||
public String getUnlocalizedName() {
|
||||
return getTranslationKey();
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the unlocalized name of this Gas.
|
||||
* @return this Gas's unlocalized name
|
||||
@@ -109,6 +118,17 @@ public class Gas
|
||||
return I18n.translateToLocal(getTranslationKey());
|
||||
}
|
||||
|
||||
/**
|
||||
* DEPRECATED: Sets the unlocalized name of this Gas. Use setTranslationKey instead.
|
||||
* @param s - unlocalized name to set
|
||||
* @return this Gas object
|
||||
*/
|
||||
@Deprecated
|
||||
public Gas setUnlocalizedName(String s)
|
||||
{
|
||||
return setTranslationKey(s);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the unlocalized name of this Gas.
|
||||
* @param s - unlocalized name to set
|
||||
|
||||
Reference in new issue
Block a user