From 736353e2729ca50903299bb3b2b4cf8d6ee76f69 Mon Sep 17 00:00:00 2001 From: Josh-Larson Date: Sun, 27 Oct 2024 18:53:42 -0500 Subject: [PATCH] Fixed compile warning in WaypointPackage --- .../data/encodables/oob/waypoint/WaypointPackage.kt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/projectswg/common/data/encodables/oob/waypoint/WaypointPackage.kt b/src/main/java/com/projectswg/common/data/encodables/oob/waypoint/WaypointPackage.kt index efd2dd7..d0089dc 100644 --- a/src/main/java/com/projectswg/common/data/encodables/oob/waypoint/WaypointPackage.kt +++ b/src/main/java/com/projectswg/common/data/encodables/oob/waypoint/WaypointPackage.kt @@ -1,11 +1,10 @@ /*********************************************************************************** * Copyright (c) 2024 /// Project SWG /// www.projectswg.com * * * - * ProjectSWG is the first NGE emulator for Star Wars Galaxies founded on * + * ProjectSWG is an emulation project for Star Wars Galaxies founded on * * July 7th, 2011 after SOE announced the official shutdown of Star Wars Galaxies. * - * Our goal is to create an emulator which will provide a server for players to * - * continue playing a game similar to the one they used to play. We are basing * - * it on the final publish of the game prior to end-game events. * + * Our goal is to create one or more emulators which will provide servers for * + * players to continue playing a game similar to the one they used to play. * * * * This file is part of PSWGCommon. * * * @@ -100,7 +99,7 @@ class WaypointPackage : OutOfBandData, MongoPersistable { objectId = data.getLong("objectId", 0) cellId = data.getLong("cellId", 0) data.getDocument("position", position) - terrain = Terrain.valueOf(data.getString("terrain", "GONE")!!) + terrain = Terrain.valueOf(data.getString("terrain", "GONE")) name = data.getString("name", "New Waypoint") color = WaypointColor.Companion.valueOf(data.getInteger("color", WaypointColor.BLUE.value)) isActive = data.getBoolean("active", true)