mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-28 07:56:01 +00:00
quick fix : String comparison using '==', instead of 'equals()'
This commit is contained in:
1 parent
fbccf4e087
commit
544f51e532
2 files changed
+2
-2
No files matched your search
@@ -51,7 +51,7 @@ public class OreberryBush extends BlockLeavesBase implements IPlantable {
|
||||
this.fancyIcons = new IIcon[textureNames.length];
|
||||
|
||||
for (int i = 0; i < this.fastIcons.length; i++) {
|
||||
if (textureNames[i] != "") {
|
||||
if (!"".equals(textureNames[i])) {
|
||||
this.fastIcons[i] = iconRegister.registerIcon("tinker:crops/" + textureNames[i] + "_fast");
|
||||
this.fancyIcons[i] = iconRegister.registerIcon("tinker:crops/" + textureNames[i] + "_fancy");
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@ public class TBaseWorldGenerator implements IWorldGenerator {
|
||||
|
||||
generateUndergroundOres(random, xChunk, zChunk, world);
|
||||
|
||||
if (biomeName == "Extreme Hills Edge" || biomeName == "Extreme Hills") {
|
||||
if ("Extreme Hills Edge".equals(biomeName) || "Extreme Hills".equals(biomeName)) {
|
||||
generateUndergroundOres(random, xChunk, zChunk, world);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user