mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-07-05 15:58:38 +07:00
Added additional check on gem attributes listFlags
This commit is contained in:
@ -25,7 +25,9 @@ public class AttributesUpdater {
|
||||
}
|
||||
case Attributes.GEM: {
|
||||
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);
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user