mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-03-02 11:11:58 +01:00
Correctly use LegacyItemDb after detecting version < 1.13
This commit is contained in:
parent
85ea07c97e
commit
4011810536
@ -942,7 +942,7 @@ public class Essentials extends JavaPlugin implements net.ess3.api.IEssentials {
|
||||
if (version.isHigherThanOrEqualTo(VersionUtil.v1_13_0_R01)) {
|
||||
return new FlatItemDb(this);
|
||||
} else {
|
||||
return new FlatItemDb(this);
|
||||
return new LegacyItemDb(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user