mirror of
https://github.com/GTNewHorizons/ThaumicHorizons.git
synced 2026-10-26 14:33:47 +00:00
fix incorrect string comparison
This commit is contained in:
1 parent
7d0738de7a
commit
e6f2db0139
1 file changed
+1
-1
+1
-1
@@ -47,7 +47,7 @@ public class EntityInfusionProperties implements IExtendedEntityProperties {
|
||||
final NBTTagCompound aspects = new NBTTagCompound();
|
||||
this.infusionCosts.writeToNBT(aspects);
|
||||
properties.setTag("InfusionCosts", (NBTBase) aspects);
|
||||
if (this.owner != null && this.owner != "") {
|
||||
if (this.owner != null && !this.owner.equals("")) {
|
||||
properties.setString("owner", this.owner);
|
||||
}
|
||||
properties.setBoolean("sitting", this.sitting);
|
||||
|
||||
Reference in new issue
Block a user