mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-20 12:19:47 +00:00
Added some localization
Added AlleleHelper
This commit is contained in:
1 parent
89f0b94f65
commit
5e35e3c803
12 files changed
+150
-49
No files matched your search
@@ -1,8 +1,5 @@
|
||||
package binnie.botany.api;
|
||||
|
||||
import binnie.botany.Botany;
|
||||
import binnie.core.util.I18N;
|
||||
|
||||
public enum EnumAcidity {
|
||||
ACID,
|
||||
NEUTRAL,
|
||||
@@ -11,8 +8,4 @@ public enum EnumAcidity {
|
||||
public String getID() {
|
||||
return name().toLowerCase();
|
||||
}
|
||||
|
||||
public String getLocalisedName() {
|
||||
return I18N.localise(Botany.instance, "ph." + getID());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user