Fixing bug

This commit is contained in:
Navoei
2025-01-30 23:54:12 -06:00
parent 4f2deb5468
commit 1a123a3378
2 changed files with 2 additions and 2 deletions

View File

@@ -103,7 +103,6 @@ public class PlayerManager {
if (playerMap.containsValue(playerReference)) {
playerMap.remove(id);
}
System.out.println(playerMap);
});
synchronized (stopped) {
if (!stopped.get()) {

View File

@@ -145,7 +145,8 @@ public class JukeBox implements Listener{
}
public boolean isCustomMusicDisc(ItemStack itemStack) {
if (itemStack==null) return false;
if (itemStack == null) return false;
if (itemStack.getItemMeta() == null) return false;
return itemStack.getItemMeta().getPersistentDataContainer().has(new NamespacedKey(customDiscs, "customdisc"));
}