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