Stop portals from spawning in mid-air

This commit is contained in:
AlexTheCoder 2016-08-05 14:28:49 -04:00
parent 6170f9df87
commit d73ced0e87

View File

@ -526,7 +526,7 @@ public class NetherManager extends MiniPlugin
{
if (event.getCreature() instanceof GolemCreature || event.getCreature() instanceof SkeletonCreature || event.getCreature() instanceof SpiderCreature)
{
spawnBossPortal(event.getCreature().getSpawnLocation());
spawnBossPortal(event.getCreature().getEvent().getCenterLocation().clone().subtract(0, 1, 0));
}
}
}