mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-11-23 10:35:22 +01:00
null worlds.
This commit is contained in:
parent
0d7e2fed9a
commit
c060373047
@ -648,7 +648,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();
|
||||
|
Loading…
Reference in New Issue
Block a user