This commit is contained in:
Brianna 2019-08-29 15:09:56 -04:00
parent cbe3736ed4
commit c9fb8d7c8c
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ public class Methods {
* @return The serialized data.
*/
public static String serializeLocation(Location location) {
if (location == null)
if (location == null || location.getWorld() == null)
return "";
String w = location.getWorld().getName();
double x = location.getX();