if statements need brackets as per (CONTRIBUTING.md)[https://github.com/Bukkit/CraftBukkit/blob/master/CONTRIBUTING.md]