Fixed List having wrong Type

master
Ruakij 4 years ago
parent b010280111
commit 41a15103b3

@ -3,8 +3,6 @@ package eu.ruekov.ruakij.LinkedBeaconTeleporters.linkedBeaconTeleporter;
import eu.ruekov.ruakij.LinkedBeaconTeleporters.Main; import eu.ruekov.ruakij.LinkedBeaconTeleporters.Main;
import org.bukkit.Location; import org.bukkit.Location;
import org.bukkit.block.Block; import org.bukkit.block.Block;
import org.bukkit.block.BlockState;
import org.bukkit.inventory.ItemStack;
import java.util.List; import java.util.List;
@ -27,7 +25,7 @@ public class LinkedBeaconTeleporterBlock extends LinkedBeaconTeleporter {
public static LinkedBeaconTeleporterBlock getFromLocation(Location loc){ public static LinkedBeaconTeleporterBlock getFromLocation(Location loc){
return Main.lbtManager.getLbtBlockFromLocation(loc); return Main.lbtManager.getLbtBlockFromLocation(loc);
} }
public static List<LinkedBeaconTeleporterBlock> getListFromTeleportId(String teleportId){ public static List<LinkedBeaconTeleporter> getListFromTeleportId(String teleportId){
return Main.lbtManager.getLbtBlocksFromTeleportId(teleportId); return Main.lbtManager.getLbtBlocksFromTeleportId(teleportId);
} }
} }

Loading…
Cancel
Save