Bukkit/CraftBukkit — comment on commit 30b488dc711b343f1d30daf6073fdc5a057abe4e
File: src/main/java/net/minecraft/server/EntityEnderDragon.java line 525
By nickpoorman:

Deat store to k, Since k isn't being used save a call to random?