Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

Commit

Permalink
Update ServerAutoPause.java
Browse files Browse the repository at this point in the history
Fix ServerCommands
  • Loading branch information
pisceskkk authored Aug 11, 2021
1 parent 119e33e commit 5b15930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cn.pisceskkk/ServerAutoPause.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public void init(){

@Override
public void registerServerCommands(CommandHandler handler){
handler.register("autopause", "<on/off>", "Enabled/disable autopause", (arg, player) -> {
handler.register("autopause", "<on/off>", "Enabled/disable autopause", arg -> {
if (arg.length == 0) {
Log.info("[scarlet]Error: Second parameter required: 'on' or 'off'");
}
Expand Down

0 comments on commit 5b15930

Please sign in to comment.