From 90443d51f7300ea51e4041a60f81a7068d896fe5 Mon Sep 17 00:00:00 2001 From: Ruakij Date: Sun, 9 May 2021 22:59:46 +0200 Subject: [PATCH] Fixed Item returning wrong class --- .../linkedBeaconTeleporter/LinkedBeaconTeleporterItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/ruekov/ruakij/LinkedBeaconTeleporters/linkedBeaconTeleporter/LinkedBeaconTeleporterItem.java b/src/main/java/eu/ruekov/ruakij/LinkedBeaconTeleporters/linkedBeaconTeleporter/LinkedBeaconTeleporterItem.java index 064bf27..d740bed 100644 --- a/src/main/java/eu/ruekov/ruakij/LinkedBeaconTeleporters/linkedBeaconTeleporter/LinkedBeaconTeleporterItem.java +++ b/src/main/java/eu/ruekov/ruakij/LinkedBeaconTeleporters/linkedBeaconTeleporter/LinkedBeaconTeleporterItem.java @@ -28,7 +28,7 @@ public class LinkedBeaconTeleporterItem extends LinkedBeaconTeleporter { public ItemStack toItemStack(){ return Main.lbtManager.getItemStackFromLbtItem(this); } - public static LinkedBeaconTeleporter getFromItemStack(ItemStack itemStack){ + public static LinkedBeaconTeleporterItem getFromItemStack(ItemStack itemStack){ return Main.lbtManager.getLbtItemFromItemStack(itemStack); } }