![](https://images.gutefrage.net/media/default/user/11_nmmslarge.png?v=1551279448000)
![](https://images.gutefrage.net/media/default/user/9_nmmslarge.png?v=1551279448000)
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.