mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-22 18:45:29 +01:00
Check Citizens plugin disabled in skinpackettracker
This commit is contained in:
parent
cf5beab4c5
commit
e1dda0499c
@ -140,7 +140,7 @@ public class SkinPacketTracker {
|
||||
}
|
||||
|
||||
private void scheduleRemovePacket(final PlayerEntry entry) {
|
||||
if (isRemoved)
|
||||
if (isRemoved || !CitizensAPI.hasImplementation() || !CitizensAPI.getPlugin().isEnabled())
|
||||
return;
|
||||
|
||||
entry.removeTask = Bukkit.getScheduler().runTaskLater(CitizensAPI.getPlugin(), new Runnable() {
|
||||
|
Loading…
Reference in New Issue
Block a user