Removed unused imports and added a Supression warning for the

oniteminteract due to the gettypeid having some sort of unused warning
This commit is contained in:
sekwah41 2013-10-07 21:27:40 +01:00
parent a32fe6c8c5
commit 0c3d22f52d
1 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,5 @@
package com.sekwah.advancedportals;
import net.minecraft.server.v1_6_R3.Item;
import org.bukkit.Material;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
@ -20,7 +18,8 @@ public class Listeners implements Listener {
@EventHandler
@SuppressWarnings("deprecation")
@EventHandler
public void oniteminteract(PlayerInteractEvent event) {
// will detect if the player is using an axe so the points of a portal can be set
// also any other detections such as sign interaction or basic block protection