summaryrefslogtreecommitdiffstats
path: root/EssentialsProtect
diff options
context:
space:
mode:
authorIaccidentally <coryhuckaby@gmail.com>2013-07-13 12:40:50 -0400
committerIaccidentally <coryhuckaby@gmail.com>2013-07-13 12:40:50 -0400
commitecd2484cb93ebb5677583e772e289ce4c314b468 (patch)
treef4f71af1ec311340b57e4382c9873ec5aa1af910 /EssentialsProtect
parentadb5189d42c8707bbf8ccdf7988f0c96ea5d04c2 (diff)
downloadEssentials-ecd2484cb93ebb5677583e772e289ce4c314b468.tar
Essentials-ecd2484cb93ebb5677583e772e289ce4c314b468.tar.gz
Essentials-ecd2484cb93ebb5677583e772e289ce4c314b468.tar.lz
Essentials-ecd2484cb93ebb5677583e772e289ce4c314b468.tar.xz
Essentials-ecd2484cb93ebb5677583e772e289ce4c314b468.zip
[API] fix other modules to use new packages
Diffstat (limited to 'EssentialsProtect')
-rw-r--r--EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsConnect.java2
-rw-r--r--EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectBlockListener.java9
-rw-r--r--EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectEntityListener.java2
3 files changed, 6 insertions, 7 deletions
diff --git a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsConnect.java b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsConnect.java
index f19362ee2..09f84efe2 100644
--- a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsConnect.java
+++ b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsConnect.java
@@ -2,7 +2,7 @@ package com.earth2me.essentials.protect;
import static com.earth2me.essentials.I18n._;
import com.earth2me.essentials.IConf;
-import com.earth2me.essentials.IEssentials;
+import net.ess3.api.IEssentials;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.bukkit.plugin.Plugin;
diff --git a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectBlockListener.java b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectBlockListener.java
index 246d9a583..0edbffcde 100644
--- a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectBlockListener.java
+++ b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectBlockListener.java
@@ -1,6 +1,6 @@
package com.earth2me.essentials.protect;
-import com.earth2me.essentials.IEssentials;
+import net.ess3.api.IEssentials;
import org.bukkit.Material;
import org.bukkit.block.Block;
import org.bukkit.block.BlockFace;
@@ -20,7 +20,7 @@ public class EssentialsProtectBlockListener implements Listener
this.prot = parent;
this.ess = prot.getEssentialsConnect().getEssentials();
}
-
+
@EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)
public void onBlockIgnite(BlockIgniteEvent event)
{
@@ -58,7 +58,7 @@ public class EssentialsProtectBlockListener implements Listener
public void onBlockFromTo(final BlockFromToEvent event)
{
final Block block = event.getBlock();
-
+
if (block.getType() == Material.WATER || block.getType() == Material.STATIONARY_WATER)
{
event.setCancelled(prot.getSettingBool(ProtectConfig.prevent_water_flow));
@@ -79,11 +79,10 @@ public class EssentialsProtectBlockListener implements Listener
@EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)
public void onBlockBurn(final BlockBurnEvent event)
- {
+ {
if (prot.getSettingBool(ProtectConfig.prevent_fire_spread))
{
event.setCancelled(true);
}
}
}
- \ No newline at end of file
diff --git a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectEntityListener.java b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectEntityListener.java
index faa2dd5c7..d8657fef5 100644
--- a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectEntityListener.java
+++ b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectEntityListener.java
@@ -1,7 +1,7 @@
package com.earth2me.essentials.protect;
-import com.earth2me.essentials.IEssentials;
import com.earth2me.essentials.User;
+import net.ess3.api.IEssentials;
import java.util.Locale;
import org.bukkit.entity.*;
import org.bukkit.entity.minecart.ExplosiveMinecart;