mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-07-06 08:18:41 +07:00
Added additional check on gem attributes listFlags
This commit is contained in:
@ -25,7 +25,9 @@ public class AttributesUpdater {
|
|||||||
}
|
}
|
||||||
case Attributes.GEM: {
|
case Attributes.GEM: {
|
||||||
final int gemListCount = StatListFlags.countGemFlags(listFlags);
|
final int gemListCount = StatListFlags.countGemFlags(listFlags);
|
||||||
if (gemListCount > 1) {
|
if (gemListCount == 0) {
|
||||||
|
log.warnf("listFlags(0x%x) does not have any gem list selected");
|
||||||
|
} else if (gemListCount > 1) {
|
||||||
log.warnf("listFlags(0x%x) contains more than 1 gem list", listFlags);
|
log.warnf("listFlags(0x%x) contains more than 1 gem list", listFlags);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user