mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-10-21 12:03:08 -04:00
Add in-game ant compile_java support
This commit is contained in:
@@ -7208,4 +7208,16 @@ public class utils extends script.base_script
|
||||
public static void throwWarning(String message) {
|
||||
WARNING(message);
|
||||
}
|
||||
|
||||
/**
|
||||
* A flag for whether or not this server is running in Production (Live Server Mode).
|
||||
*
|
||||
* When running in production, various scripted development-mode features are disabled
|
||||
* to provide infrastructure protection to a live server.
|
||||
*/
|
||||
public static final boolean PRODUCTION = isProduction();
|
||||
private static boolean isProduction()
|
||||
{
|
||||
return checkConfigFlag("GameServer", "production");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user