Antwort
Es muss Entity c = (Entity) p.getWorld(). ... heißen und deine Imputs sind komisch. Du musst auch nur Location location = p.getLocation() schreiben. Ich hoffe ich kinnte dir helfen.