mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-11-30 14:03:24 +01:00
null worlds.
This commit is contained in:
parent
0d7e2fed9a
commit
c060373047
@ -648,7 +648,7 @@ public class Methods {
|
|||||||
* @return The serialized data.
|
* @return The serialized data.
|
||||||
*/
|
*/
|
||||||
public static String serializeLocation(Location location) {
|
public static String serializeLocation(Location location) {
|
||||||
if (location == null)
|
if (location == null || location.getWorld() == null)
|
||||||
return "";
|
return "";
|
||||||
String w = location.getWorld().getName();
|
String w = location.getWorld().getName();
|
||||||
double x = location.getX();
|
double x = location.getX();
|
||||||
|
Loading…
Reference in New Issue
Block a user