it looks like you're not pointing to the java file in your gradle.
mainClass = "com.beowolf.bots.Island"
should be
mainClass = "com.beowolf.bots.wolfisland.Island"
you're null checking the local player twice. set it as a global in your main class and check if its null or !isValid
i would...