fix incorrect string comparison

This commit is contained in:
chill committed 2023-06-18 12:06:54 +02:00
1 parent 7d0738de7a
commit e6f2db0139
1 file changed
+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);