[API] fix other modules to use new packages

This commit is contained in:
Iaccidentally 2013-07-13 12:40:50 -04:00
parent adb5189d42
commit ecd2484cb9
16 changed files with 28 additions and 34 deletions

View file

@ -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);
}
}
}

View file

@ -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;