3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-16 21:10:30 +01:00

don't swap these two around

Dieser Commit ist enthalten in:
Andrew Steinborn 2021-03-23 07:38:07 -04:00
Ursprung 3111816545
Commit 0cc300b621
2 geänderte Dateien mit 5 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -237,8 +237,9 @@ public class LoginSessionHandler implements MinecraftSessionHandler {
logger.error(
"A plugin permission provider {} provided an invalid permission function"
+ " for player {}. This is a bug in the plugin, not in Velocity. Falling"
+ " back to the default permission function.", player.getUsername(),
event.getProvider());
+ " back to the default permission function.",
event.getProvider().getClass().getName(),
player.getUsername());
} else {
player.setPermissionFunction(function);
}

Datei anzeigen

@ -69,7 +69,8 @@ public final class VelocityConsole extends SimpleTerminalConsole implements Cons
logger.error(
"A plugin permission provider {} provided an invalid permission function"
+ " for the console. This is a bug in the plugin, not in Velocity. Falling"
+ " back to the default permission function.", event.getProvider());
+ " back to the default permission function.",
event.getProvider().getClass().getName());
this.permissionFunction = ALWAYS_TRUE;
}
}