Support for world deletion.

This commit is contained in:
Brianna 2019-08-08 09:28:47 -04:00
parent 5a32732dd1
commit cd8a53416c

View File

@ -179,7 +179,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.getBlockX();