diff options
author | Iaccidentally <coryhuckaby@gmail.com> | 2013-07-13 12:40:50 -0400 |
---|---|---|
committer | Iaccidentally <coryhuckaby@gmail.com> | 2013-07-13 12:40:50 -0400 |
commit | ecd2484cb93ebb5677583e772e289ce4c314b468 (patch) | |
tree | f4f71af1ec311340b57e4382c9873ec5aa1af910 /EssentialsAntiBuild | |
parent | adb5189d42c8707bbf8ccdf7988f0c96ea5d04c2 (diff) | |
download | Essentials-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 'EssentialsAntiBuild')
-rw-r--r-- | EssentialsAntiBuild/src/com/earth2me/essentials/antibuild/EssentialsAntiBuildListener.java | 6 | ||||
-rw-r--r-- | EssentialsAntiBuild/src/com/earth2me/essentials/antibuild/EssentialsConnect.java | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/EssentialsAntiBuild/src/com/earth2me/essentials/antibuild/EssentialsAntiBuildListener.java b/EssentialsAntiBuild/src/com/earth2me/essentials/antibuild/EssentialsAntiBuildListener.java index e457f72f2..7f5acd56f 100644 --- a/EssentialsAntiBuild/src/com/earth2me/essentials/antibuild/EssentialsAntiBuildListener.java +++ b/EssentialsAntiBuild/src/com/earth2me/essentials/antibuild/EssentialsAntiBuildListener.java @@ -1,8 +1,8 @@ package com.earth2me.essentials.antibuild; import static com.earth2me.essentials.I18n._; -import com.earth2me.essentials.IEssentials; import com.earth2me.essentials.User; +import net.ess3.api.IEssentials; import java.util.logging.Level; import org.bukkit.Material; import org.bukkit.block.Block; @@ -313,14 +313,14 @@ public class EssentialsAntiBuildListener implements Listener } } } - + @EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true) public void onBlockDispense(final BlockDispenseEvent event) { final ItemStack item = event.getItem(); if (prot.checkProtectionItems(AntiBuildConfig.blacklist_dispenser, item.getTypeId())) { - event.setCancelled(true); + event.setCancelled(true); } } } diff --git a/EssentialsAntiBuild/src/com/earth2me/essentials/antibuild/EssentialsConnect.java b/EssentialsAntiBuild/src/com/earth2me/essentials/antibuild/EssentialsConnect.java index c25898f78..6f568a109 100644 --- a/EssentialsAntiBuild/src/com/earth2me/essentials/antibuild/EssentialsConnect.java +++ b/EssentialsAntiBuild/src/com/earth2me/essentials/antibuild/EssentialsConnect.java @@ -1,9 +1,9 @@ package com.earth2me.essentials.antibuild; import com.earth2me.essentials.IConf; -import com.earth2me.essentials.IEssentials; import com.earth2me.essentials.User; import static com.earth2me.essentials.I18n._; +import net.ess3.api.IEssentials; import java.util.logging.Level; import java.util.logging.Logger; import org.bukkit.Location; |