Fixed restoration of single slot augments.

This commit is contained in:
MobiusDevelopment 2021-07-11 17:47:14 +00:00
parent 509e0cf035
commit 625dc69fb0
6 changed files with 6 additions and 6 deletions

View File

@ -1083,7 +1083,7 @@ public class ItemInstance extends WorldObject
final int mineralId = rs.getInt("mineralId");
final int option1 = rs.getInt("option1");
final int option2 = rs.getInt("option2");
if ((option1 != -1) && (option2 != -1))
if ((option1 != -1) || (option2 != -1))
{
_augmentation = new VariationInstance(mineralId, option1, option2);
}

View File

@ -1083,7 +1083,7 @@ public class ItemInstance extends WorldObject
final int mineralId = rs.getInt("mineralId");
final int option1 = rs.getInt("option1");
final int option2 = rs.getInt("option2");
if ((option1 != -1) && (option2 != -1))
if ((option1 != -1) || (option2 != -1))
{
_augmentation = new VariationInstance(mineralId, option1, option2);
}

View File

@ -1083,7 +1083,7 @@ public class ItemInstance extends WorldObject
final int mineralId = rs.getInt("mineralId");
final int option1 = rs.getInt("option1");
final int option2 = rs.getInt("option2");
if ((option1 != -1) && (option2 != -1))
if ((option1 != -1) || (option2 != -1))
{
_augmentation = new VariationInstance(mineralId, option1, option2);
}

View File

@ -1080,7 +1080,7 @@ public class ItemInstance extends WorldObject
final int mineralId = rs.getInt("mineralId");
final int option1 = rs.getInt("option1");
final int option2 = rs.getInt("option2");
if ((option1 != -1) && (option2 != -1))
if ((option1 != -1) || (option2 != -1))
{
_augmentation = new VariationInstance(mineralId, option1, option2);
}

View File

@ -1080,7 +1080,7 @@ public class ItemInstance extends WorldObject
final int mineralId = rs.getInt("mineralId");
final int option1 = rs.getInt("option1");
final int option2 = rs.getInt("option2");
if ((option1 != -1) && (option2 != -1))
if ((option1 != -1) || (option2 != -1))
{
_augmentation = new VariationInstance(mineralId, option1, option2);
}

View File

@ -1080,7 +1080,7 @@ public class ItemInstance extends WorldObject
final int mineralId = rs.getInt("mineralId");
final int option1 = rs.getInt("option1");
final int option2 = rs.getInt("option2");
if ((option1 != -1) && (option2 != -1))
if ((option1 != -1) || (option2 != -1))
{
_augmentation = new VariationInstance(mineralId, option1, option2);
}