public void Border1()
{
if (isAtEdge())
{
getWorld().removeObject(this);
}
}
When it crashes, it says : java.lang.IllegalStateException: Actor not in world. An attempt was made to use the actor's location while it is not in the world. Either it has not yet been inserted, or it has been removed.
Under that are two red marked text :
at Bullet.Spielerentfernen1(Bullet.java:26)
at Bullet.act(Bullet.java:21)