mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-07-06 16:27:34 +07:00
Fixed GemGenerator not checking attrs type properly
This commit is contained in:
@ -22,7 +22,7 @@ public class GemGenerator {
|
||||
}
|
||||
|
||||
public Attributes set(Attributes attrs, Gems.Entry gem) {
|
||||
assert attrs instanceof GemAttributes : "attrs(" + attrs + ") is not a " + GemAttributes.class;
|
||||
assert attrs.isType(Attributes.GEM) : "attrs(" + attrs + ") is not a GEM(" + attrs.type() + ")";
|
||||
attrs.clear();
|
||||
final StatList stats = attrs.list();
|
||||
try {
|
||||
|
Reference in New Issue
Block a user