Adds broken code for yaml storage
Some checks failed
EpicKnarvik97/Stargate/pipeline/head There was a failure building this commit
Some checks failed
EpicKnarvik97/Stargate/pipeline/head There was a failure building this commit
This commit is contained in:
@@ -74,7 +74,7 @@ public final class DynmapManager {
|
||||
if (markerSet == null || Stargate.getStargateConfig().isDynmapDisabled()) {
|
||||
return;
|
||||
}
|
||||
World world = portal.getWorld();
|
||||
World world = portal.getLocation().getWorld();
|
||||
if (portal.getOptions().isHidden() || world == null) {
|
||||
return;
|
||||
}
|
||||
@@ -82,7 +82,7 @@ public final class DynmapManager {
|
||||
Location location;
|
||||
@Nullable RelativeBlockVector exit = portal.getGate().getLayout().getExit();
|
||||
if (exit == null) {
|
||||
location = portal.getTopLeft();
|
||||
location = portal.getLocation().getTopLeft();
|
||||
} else {
|
||||
location = portal.getBlockAt(exit);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user