mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-12-18 06:38:28 +01:00
Add debug message for #1622
This commit is contained in:
parent
22623aac85
commit
e0d8caa95b
@ -66,7 +66,14 @@ public class BungeeReceiver implements PluginMessageListener, SettingsDependent
|
||||
return;
|
||||
}
|
||||
|
||||
String argument = in.readUTF();
|
||||
String argument;
|
||||
try {
|
||||
argument = in.readUTF();
|
||||
} catch (IllegalStateException e) {
|
||||
ConsoleLogger.warning("Received invalid plugin message of type " + type.get().name() + ": argument is missing!");
|
||||
return;
|
||||
}
|
||||
|
||||
switch (type.get()) {
|
||||
case UNREGISTER:
|
||||
dataSource.invalidateCache(argument);
|
||||
|
Loading…
Reference in New Issue
Block a user