|
|
@ -102,10 +102,12 @@ public class LinkedBeaconTeleporterManager {
|
|
|
|
return item;
|
|
|
|
return item;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
public LinkedBeaconTeleporterItem getLbtItemFromItemStack(ItemStack itemStack){
|
|
|
|
public LinkedBeaconTeleporterItem getLbtItemFromItemStack(ItemStack itemStack){
|
|
|
|
|
|
|
|
ItemMeta itemMeta = itemStack.getItemMeta();
|
|
|
|
|
|
|
|
|
|
|
|
// Serialize
|
|
|
|
// Serialize
|
|
|
|
String nameAndLore = serialiseBeaconItem(
|
|
|
|
String nameAndLore = serialiseBeaconItem(
|
|
|
|
itemStack.getI18NDisplayName(),
|
|
|
|
itemMeta.getDisplayName(),
|
|
|
|
itemStack.getLore()
|
|
|
|
itemMeta.getLore()
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
// Regex match
|
|
|
|
// Regex match
|
|
|
|