We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6119823 commit 49b8e01Copy full SHA for 49b8e01
src/main/java/org/mvplugins/multiverse/inventories/share/LocationSerializer.java
@@ -1,6 +1,7 @@
1
package org.mvplugins.multiverse.inventories.share;
2
3
import org.bukkit.Location;
4
+import org.mvplugins.multiverse.core.world.location.UnloadedWorldLocation;
5
import org.mvplugins.multiverse.inventories.util.LegacyParsers;
6
7
import java.util.Map;
@@ -30,6 +31,6 @@ public Location deserialize(Object obj) {
30
31
32
@Override
33
public Object serialize(Location location) {
- return location;
34
+ return new UnloadedWorldLocation(location);
35
}
36
0 commit comments