I'm now receiving the original error :o
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.
at greenfoot.Actor.failIfNotInWorld(Actor.java:663)
at greenfoot.Actor.getOneIntersectingObject(Actor.java:912)
at Hero.enemyContact(Hero.java:72)
at Hero.act(Hero.java:58)
In reference to the code:
Actor wolf = getOneIntersectingObject(Wolf.class);
