|
|
@ -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);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|