Skip to content

Commit

Permalink
Possible fix for weird map issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Sep 19, 2017
1 parent 84e6ba6 commit bc71863
Showing 1 changed file with 5 additions and 0 deletions.
@@ -1,6 +1,7 @@
package net.aufdemrand.denizen.utilities.maps;

import net.aufdemrand.denizen.objects.dPlayer;
import net.aufdemrand.denizen.utilities.DenizenAPI;
import net.aufdemrand.denizencore.utilities.debugging.dB;
import org.bukkit.entity.Player;
import org.bukkit.map.MapCanvas;
Expand Down Expand Up @@ -67,6 +68,10 @@ public Map<String, Object> getSaveData() {

@Override
public void render(MapView mapView, MapCanvas mapCanvas, Player player) {
if (!DenizenAPI.getCurrentInstance().isEnabled()) {
// Special case for shutdown borko
return;
}
if (active) {
try {
UUID uuid = player.getUniqueId();
Expand Down

0 comments on commit bc71863

Please sign in to comment.