From 9888d6ec1978e88c7a55efb9a6a8b135addafcb1 Mon Sep 17 00:00:00 2001 From: Alastair Date: Sun, 20 Nov 2016 05:01:55 +0000 Subject: [PATCH] Updated some messaged and added a return --- src/com/sekwah/advancedportals/compat/CraftBukkit.java | 2 +- src/com/sekwah/advancedportals/listeners/PortalProtect.java | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/com/sekwah/advancedportals/compat/CraftBukkit.java b/src/com/sekwah/advancedportals/compat/CraftBukkit.java index a6cfa20..6120635 100644 --- a/src/com/sekwah/advancedportals/compat/CraftBukkit.java +++ b/src/com/sekwah/advancedportals/compat/CraftBukkit.java @@ -12,7 +12,7 @@ import java.lang.reflect.Method; * Created by on 02/08/2016. * * I don't think there will be any others supported other than bukkit but if there are its not just the compat that will - * need to change. + * need to change unless it has a different package for the minecraft server parts. * * @author sekwah41 */ diff --git a/src/com/sekwah/advancedportals/listeners/PortalProtect.java b/src/com/sekwah/advancedportals/listeners/PortalProtect.java index dc2a1a8..3e683c3 100644 --- a/src/com/sekwah/advancedportals/listeners/PortalProtect.java +++ b/src/com/sekwah/advancedportals/listeners/PortalProtect.java @@ -55,10 +55,6 @@ public class PortalProtect implements Listener { @EventHandler(priority = EventPriority.HIGH) public void onExplosion(EntityExplodeEvent event) { - if (!Portal.portalsActive) { - return; - } - List blockList = event.blockList(); for (int i = 0; i < blockList.size(); i++) { Block block = blockList.get(i);