mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-11-25 12:06:17 +01:00
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:
parent
a32fe6c8c5
commit
0c3d22f52d
@ -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,6 +18,7 @@ public class Listeners implements Listener {
|
||||
|
||||
|
||||
|
||||
@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
|
||||
|
Loading…
Reference in New Issue
Block a user