diff options
author | snowleo <schneeleo@gmail.com> | 2011-12-14 16:31:08 +0100 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-12-14 16:31:08 +0100 |
commit | 0155bcedb7f00726d0b2f14e612a5342322a8278 (patch) | |
tree | a490495781c26b553f719dda2b70ece6889a3605 /EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectPlayerListener.java | |
parent | 9ab2fe54fcea6565bdfc29aa3e3c60cb07adf1b2 (diff) | |
download | Essentials-0155bcedb7f00726d0b2f14e612a5342322a8278.tar Essentials-0155bcedb7f00726d0b2f14e612a5342322a8278.tar.gz Essentials-0155bcedb7f00726d0b2f14e612a5342322a8278.tar.lz Essentials-0155bcedb7f00726d0b2f14e612a5342322a8278.tar.xz Essentials-0155bcedb7f00726d0b2f14e612a5342322a8278.zip |
Updated all modules to new api, some settings are still missing
Diffstat (limited to 'EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectPlayerListener.java')
-rw-r--r-- | EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectPlayerListener.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectPlayerListener.java b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectPlayerListener.java index ad7831a53..a3f13a428 100644 --- a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectPlayerListener.java +++ b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectPlayerListener.java @@ -1,8 +1,8 @@ package com.earth2me.essentials.protect; import static com.earth2me.essentials.I18n._; -import com.earth2me.essentials.IEssentials; -import com.earth2me.essentials.User; +import com.earth2me.essentials.api.IEssentials; +import com.earth2me.essentials.api.IUser; import org.bukkit.Material; import org.bukkit.block.Block; import org.bukkit.event.block.Action; @@ -26,7 +26,7 @@ public class EssentialsProtectPlayerListener extends PlayerListener public void onPlayerInteract(final PlayerInteractEvent event) { // Do not return if cancelled, because the interact event has 2 cancelled states. - final User user = ess.getUser(event.getPlayer()); + final IUser user = ess.getUser(event.getPlayer()); if (event.hasItem() && (event.getItem().getType() == Material.WATER_BUCKET |