Updated some messaged and added a return

This commit is contained in:
Alastair 2016-11-20 05:01:55 +00:00
parent 412dd428dd
commit 9888d6ec19
2 changed files with 1 additions and 5 deletions

View File

@ -12,7 +12,7 @@ import java.lang.reflect.Method;
* Created by on 02/08/2016. * 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 * 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 * @author sekwah41
*/ */

View File

@ -55,10 +55,6 @@ public class PortalProtect implements Listener {
@EventHandler(priority = EventPriority.HIGH) @EventHandler(priority = EventPriority.HIGH)
public void onExplosion(EntityExplodeEvent event) { public void onExplosion(EntityExplodeEvent event) {
if (!Portal.portalsActive) {
return;
}
List<Block> blockList = event.blockList(); List<Block> blockList = event.blockList();
for (int i = 0; i < blockList.size(); i++) { for (int i = 0; i < blockList.size(); i++) {
Block block = blockList.get(i); Block block = blockList.get(i);