Fixed restoration of single slot augments.
This commit is contained in:
parent
509e0cf035
commit
625dc69fb0
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user