Move stats to own file

This commit is contained in:
Sn0wStorm
2022-07-03 15:53:18 +02:00
parent 1ae98ca9b0
commit 36d76130f7
14 changed files with 236 additions and 210 deletions
@@ -65,6 +65,7 @@ public class LWCBarrel {
if (listener.getListener() instanceof LWCPlayerListener) {
try {
listener.callEvent(lwcEvent);
//noinspection deprecation
if (lwcEvent.isCancelled()) {
return false;
}
@@ -32,6 +32,7 @@ public class WGBarrel7 implements WGBarrel {
}
}
@SuppressWarnings("deprecation")
public boolean checkAccess(Player player, Block spigot, Plugin plugin) {
WorldGuardPlugin wg = (WorldGuardPlugin) plugin;
WorldGuardPlatform platform = WorldGuard.getInstance().getPlatform();