mirror of
https://github.com/CivMC/Civ.git
synced 2026-07-18 00:20:44 +00:00
fix jukealert using legacy items
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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<>();
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user