mirror of
https://github.com/songoda/SongodaCore.git
synced 2025-02-05 14:11:38 +01:00
Fixed an issue breaking support for core protect on 1.12.
This commit is contained in:
parent
ac02498d42
commit
fe135a6274
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user