mirror of
https://github.com/songoda/EpicHoppers.git
synced 2025-02-15 03:13:21 +01:00
Support for world deletion.
This commit is contained in:
parent
5a32732dd1
commit
cd8a53416c
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user