mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 20:00:46 +00:00
Correctly use LegacyItemDb after detecting version < 1.13
This commit is contained in:
parent
85ea07c97e
commit
4011810536
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue