mirror of
https://github.com/SPAWNRYS-ban/FUCK-CustomDiscs.git
synced 2025-12-11 22:09:43 +05:00
Preparing for Youtube Functionality
This commit is contained in:
@@ -101,7 +101,7 @@ public class HopperManager implements Listener {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean isCustomMusicDisc (ItemStack item) {
|
private boolean isCustomMusicDisc(ItemStack item) {
|
||||||
return item.getItemMeta().getPersistentDataContainer().has(new NamespacedKey(customDiscs, "customdisc"), PersistentDataType.STRING);
|
return item.getItemMeta().getPersistentDataContainer().has(new NamespacedKey(customDiscs, "customdisc"), PersistentDataType.STRING);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
package me.Navoei.customdiscsplugin;
|
||||||
|
|
||||||
|
public class YoutubePlayerManager {
|
||||||
|
}
|
||||||
@@ -79,7 +79,6 @@ public class JukeBox implements Listener{
|
|||||||
if (event.getClickedBlock().getType() != Material.JUKEBOX) return;
|
if (event.getClickedBlock().getType() != Material.JUKEBOX) return;
|
||||||
|
|
||||||
if (jukeboxContainsDisc(block)) {
|
if (jukeboxContainsDisc(block)) {
|
||||||
|
|
||||||
ItemStack itemInvolvedInEvent;
|
ItemStack itemInvolvedInEvent;
|
||||||
if (event.getMaterial().equals(Material.AIR)) {
|
if (event.getMaterial().equals(Material.AIR)) {
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import org.bukkit.ChatColor;
|
|||||||
import org.bukkit.configuration.file.YamlConfiguration;
|
import org.bukkit.configuration.file.YamlConfiguration;
|
||||||
|
|
||||||
public enum Lang {
|
public enum Lang {
|
||||||
SOME_TEXT("text", "text");
|
PREFIX("text", "text");
|
||||||
|
|
||||||
private final String path;
|
private final String path;
|
||||||
private final String def;
|
private final String def;
|
||||||
|
|||||||
Reference in New Issue
Block a user