mirror of
https://github.com/plexusorg/Module-NUSH.git
synced 2026-06-03 22:56:54 +00:00
Fix set time
This commit is contained in:
@@ -48,4 +48,10 @@ public class NUSHModule extends PlexModule
|
||||
enabled = toggle;
|
||||
config.set("server.enabled", toggle);
|
||||
}
|
||||
|
||||
public static void setTime(int minutes)
|
||||
{
|
||||
time = minutes;
|
||||
config.set("server.wait_time", minutes);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user