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