From 9d74ecfe640ca6b206b419c489a34771f20b809e Mon Sep 17 00:00:00 2001 From: Olof Larsson Date: Thu, 29 Dec 2016 12:27:54 +0100 Subject: [PATCH] IntelliJ optimize imports in EngineWorldGuard --- .../worldguard/EngineWorldGuard.java | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/com/massivecraft/factions/integration/worldguard/EngineWorldGuard.java b/src/com/massivecraft/factions/integration/worldguard/EngineWorldGuard.java index 23444323..dfd9dc88 100644 --- a/src/com/massivecraft/factions/integration/worldguard/EngineWorldGuard.java +++ b/src/com/massivecraft/factions/integration/worldguard/EngineWorldGuard.java @@ -1,13 +1,5 @@ package com.massivecraft.factions.integration.worldguard; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; - -import org.bukkit.entity.Player; -import org.bukkit.event.EventHandler; -import org.bukkit.event.EventPriority; - import com.massivecraft.factions.entity.MConf; import com.massivecraft.factions.entity.MFlag; import com.massivecraft.factions.entity.MPlayer; @@ -22,6 +14,13 @@ import com.sk89q.worldguard.protection.managers.RegionManager; import com.sk89q.worldguard.protection.regions.GlobalProtectedRegion; import com.sk89q.worldguard.protection.regions.ProtectedCuboidRegion; import com.sk89q.worldguard.protection.regions.ProtectedRegion; +import org.bukkit.entity.Player; +import org.bukkit.event.EventHandler; +import org.bukkit.event.EventPriority; + +import java.util.ArrayList; +import java.util.List; +import java.util.Map; public class EngineWorldGuard extends Engine { @@ -119,7 +118,7 @@ public class EngineWorldGuard extends Engine int maxChunkZ = minChunkZ + 15; int worldHeight = ps.asBukkitWorld().getMaxHeight(); - + BlockVector minChunk = new BlockVector(minChunkX, 0, minChunkZ); BlockVector maxChunk = new BlockVector(maxChunkX, worldHeight, maxChunkZ);