mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-12-25 18:47:44 +01:00
Removed some debugging messages.
This commit is contained in:
parent
162d53b66e
commit
345f4a2e0e
@ -540,8 +540,6 @@ public void onExplosionPrime(ExplosionPrimeEvent event) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.info("PRIME");
|
|
||||||
|
|
||||||
ConfigurationManager cfg = plugin.getGlobalStateManager();
|
ConfigurationManager cfg = plugin.getGlobalStateManager();
|
||||||
Location l = event.getEntity().getLocation();
|
Location l = event.getEntity().getLocation();
|
||||||
World world = l.getWorld();
|
World world = l.getWorld();
|
||||||
@ -549,7 +547,6 @@ public void onExplosionPrime(ExplosionPrimeEvent event) {
|
|||||||
Entity ent = event.getEntity();
|
Entity ent = event.getEntity();
|
||||||
|
|
||||||
if (cfg.activityHaltToggle) {
|
if (cfg.activityHaltToggle) {
|
||||||
logger.info("WG Halt-Act: Blocking " + ent.getClass().getName());
|
|
||||||
ent.remove();
|
ent.remove();
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user