mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-10-17 00:45:22 +02: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)) {
|
if (version.isHigherThanOrEqualTo(VersionUtil.v1_13_0_R01)) {
|
||||||
return new FlatItemDb(this);
|
return new FlatItemDb(this);
|
||||||
} else {
|
} else {
|
||||||
return new FlatItemDb(this);
|
return new LegacyItemDb(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user