mirror of
https://github.com/exituser/Brewery.git
synced 2026-09-17 08:59:01 +00:00
Move stats to own file
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user