RTRD/BukkitPlugins — pull request #1 by grandwazir (2011-11-26 12:27:31+00:00)
Title: Fixed NullPointerException when server does not have a world called 'world'

MCDocsPlus assumes that there is a world called 'world' which causes NullPointerExceptions on servers where this is not the case. This pull request changes the behaviour so we get the time from the player's current world instead.

This neatly fixes another problem where the plugin assumes that the player is always in the world 'world' when checking for the time. This method will now accurately report the time regardless of the world the player is in.