Bukkit/CraftBukkit — pull request #771 by AgroTemp (2012-05-19 04:41:10+00:00)
Title: if-else to switch-case

Changed the mass of if-else statements to switch-case. Provides more readability, functionality, and faster speed.