Correctly use LegacyItemDb after detecting version < 1.13

This commit is contained in:
md678685 2018-11-19 22:50:38 +00:00
parent 85ea07c97e
commit 4011810536

View file

@ -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);
}
}
}