Fixed an issue breaking support for core protect on 1.12.

This commit is contained in:
Brianna 2020-10-26 14:24:56 -05:00
parent ac02498d42
commit fe135a6274

View File

@ -10,7 +10,7 @@ import org.bukkit.block.Block;
public class CoreProtectLog extends Log {
private CoreProtectAPI api;
private boolean useDeprecatedMethod = ServerVersion.isServerVersionBelow(ServerVersion.V1_12);
private boolean useDeprecatedMethod = ServerVersion.isServerVersionAtOrBelow(ServerVersion.V1_12);
public CoreProtectLog() {
this.api = CoreProtect.getInstance().getAPI();