Fix #3 handling messages for closing servers

feat/data-edit-commands
William 3 years ago
parent 70a66c7801
commit 2367b14738

@ -39,6 +39,10 @@ public class BukkitRedisListener extends RedisListener {
if (!message.getMessageTarget().targetServerType().equals(Settings.ServerType.BUKKIT)) {
return;
}
// Ignore messages if the plugin is disabled
if (!plugin.isEnabled()) {
return;
}
// Handle the incoming redis message; either for a specific player or the system
if (message.getMessageTarget().targetPlayerUUID() == null) {

Loading…
Cancel
Save