mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2024-12-22 04:37:42 +01:00
update type
This commit is contained in:
parent
46aea9c4bf
commit
e85274e39a
@ -197,9 +197,9 @@ public class Type {
|
||||
config.save();
|
||||
}
|
||||
|
||||
public boolean canHaveStat(ItemStat stat) {
|
||||
public boolean canHave(ItemStat stat) {
|
||||
if (isSubtype())
|
||||
return getParent().canHaveStat(stat);
|
||||
return getParent().canHave(stat);
|
||||
|
||||
for (String s1 : stat.getCompatibleTypes()) {
|
||||
if (s1.equalsIgnoreCase("!" + getId()))
|
||||
|
Loading…
Reference in New Issue
Block a user