fix jukealert using legacy items

This commit is contained in:
okx-code
2025-10-12 19:50:06 +01:00
parent b944612486
commit 84cb0398db
4 changed files with 6 additions and 1 deletions

View File

@@ -4,6 +4,7 @@ snitchConfigs:
==: org.bukkit.inventory.ItemStack
type: NOTE_BLOCK
amount: 1
v: 3839
id: 0
name: Snitch
range: 11
@@ -22,6 +23,7 @@ snitchConfigs:
==: org.bukkit.inventory.ItemStack
type: JUKEBOX
amount: 1
v: 3839
id: 1
name: Logsnitch
range: 11

View File

@@ -4,6 +4,7 @@ snitchConfigs:
==: org.bukkit.inventory.ItemStack
type: NOTE_BLOCK
amount: 1
v: 3839
id: 0
name: Snitch
range: 11
@@ -22,6 +23,7 @@ snitchConfigs:
==: org.bukkit.inventory.ItemStack
type: JUKEBOX
amount: 1
v: 3839
id: 1
name: Logsnitch
range: 11

View File

@@ -20,7 +20,6 @@ public class PlayerCount {
}
public void start() {
server.getEventManager().register(plugin, this);
server.getScheduler().buildTask(plugin, () -> {
try {
Map<String, Integer> count = new HashMap<>();

View File

@@ -17,6 +17,7 @@ snitchConfigs:
==: org.bukkit.inventory.ItemStack
type: NOTE_BLOCK
amount: 1
v: 3839
id: 0
name: Snitch
range:
@@ -38,6 +39,7 @@ snitchConfigs:
==: org.bukkit.inventory.ItemStack
type: JUKEBOX
amount: 1
v: 3839
id: 1
name: Logsnitch
range: 11