geforkt von Mirrors/Velocity
don't swap these two around
Dieser Commit ist enthalten in:
Ursprung
3111816545
Commit
0cc300b621
@ -237,8 +237,9 @@ public class LoginSessionHandler implements MinecraftSessionHandler {
|
|||||||
logger.error(
|
logger.error(
|
||||||
"A plugin permission provider {} provided an invalid permission function"
|
"A plugin permission provider {} provided an invalid permission function"
|
||||||
+ " for player {}. This is a bug in the plugin, not in Velocity. Falling"
|
+ " for player {}. This is a bug in the plugin, not in Velocity. Falling"
|
||||||
+ " back to the default permission function.", player.getUsername(),
|
+ " back to the default permission function.",
|
||||||
event.getProvider());
|
event.getProvider().getClass().getName(),
|
||||||
|
player.getUsername());
|
||||||
} else {
|
} else {
|
||||||
player.setPermissionFunction(function);
|
player.setPermissionFunction(function);
|
||||||
}
|
}
|
||||||
|
@ -69,7 +69,8 @@ public final class VelocityConsole extends SimpleTerminalConsole implements Cons
|
|||||||
logger.error(
|
logger.error(
|
||||||
"A plugin permission provider {} provided an invalid permission function"
|
"A plugin permission provider {} provided an invalid permission function"
|
||||||
+ " for the console. This is a bug in the plugin, not in Velocity. Falling"
|
+ " 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;
|
this.permissionFunction = ALWAYS_TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren