Papi and Biome location better

This commit is contained in:
Brian Neumann-Fopiano 2022-11-30 08:55:27 -08:00
parent 7d994e27e3
commit 673b42c2f5

View File

@ -53,8 +53,8 @@ public class IrisPapiExpansion extends PlaceholderExpansion {
Location l = null;
PlatformChunkGenerator a = null;
if (player.isOnline()) {
l = player.getPlayer().getLocation();
if (player.isOnline() && player.getPlayer() != null) {
l = player.getPlayer().getLocation().add(0, 2, 0);
a = IrisToolbelt.access(l.getWorld());
}