Skip to content

Commit

Permalink
Temporarily put in debug to track spawner issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Apr 29, 2023
1 parent 60999fc commit 20da0fd
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import org.bukkit.inventory.InventoryHolder;
import org.bukkit.util.Vector;

import world.bentobox.bentobox.BentoBox;
import world.bentobox.bentobox.blueprints.dataobjects.BlueprintBlock;
import world.bentobox.bentobox.blueprints.dataobjects.BlueprintCreatureSpawner;
import world.bentobox.bentobox.util.Pair;
Expand Down Expand Up @@ -117,6 +118,7 @@ public void setSpawner(CreatureSpawner spawner, BlueprintCreatureSpawner s) {
spawner.setDelay(s.getDelay());
spawner.setRequiredPlayerRange(s.getRequiredPlayerRange());
spawner.setSpawnRange(s.getSpawnRange());
BentoBox.getInstance().logDebug("Set spawner at " + spawner.getLocation() + " to " + s.getSpawnedType());
spawner.update(true, false);
}

Expand Down

0 comments on commit 20da0fd

Please sign in to comment.