mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-04 00:31:54 +00:00
Random Fixes (#554)
* Shops: Fixed stock amount in "Nurmof's Pickaxe Shop" * ConfigLoader:Fix server_debug key/value * Fix "players" Command Text
This commit is contained in:
@@ -17,12 +17,11 @@ object ConfigLoader {
|
||||
if (obj.has("server_name")) GameConstants.SERVER_NAME = obj.getString("server_name")
|
||||
if (obj.has("server_test_version")) GameConstants.TEST_VERSION = obj.getDouble("server_test_version")
|
||||
if (obj.has("website_link")) GameConstants.WEBSITE_LINK = obj.getString("website_link")
|
||||
if (obj.has("debug")) GameConstants.SERVER_DEBUG = obj.getBoolean("debug")
|
||||
if (obj.has("server_debug")) GameConstants.SERVER_DEBUG = obj.getBoolean("server_debug")
|
||||
if (obj.has("file_server")) GameConstants.FILE_SERVER = obj.getBoolean("file_server")
|
||||
if (obj.has("world_id")) GameConstants.WORLD = obj.getInt("world_id")
|
||||
if (obj.has("members_only")) GameConstants.MEMBERS_ONLY = obj.getBoolean("members_only")
|
||||
if (obj.has("tutorial_island_enabled")) GameConstants.TUTORIAL_ISLAND =
|
||||
obj.getBoolean("tutorial_island_enabled")
|
||||
if (obj.has("tutorial_island_enabled")) GameConstants.TUTORIAL_ISLAND = obj.getBoolean("tutorial_island_enabled")
|
||||
if (obj.has("party_room_enabled")) GameConstants.PARTY_ROOM_DISABLED = !obj.getBoolean("party_room_enabled")
|
||||
if (obj.has("clues_enabled")) GameConstants.CLUES_ENABLED = obj.getBoolean("clues_enabled")
|
||||
if (obj.has("admin_can_trade")) GameConstants.ADMIN_CAN_TRADE = obj.getBoolean("admin_can_trade")
|
||||
|
||||
Reference in New Issue
Block a user