Bukkit/Bukkit — pull request #398 by dredhorse (2011-10-31 20:21:47+00:00)
Title: Adding getName() method to Location Class similar to Player.getName()

Hi,

first pull so please be gentle ;-)

I stumbled upon this during coding... toString returns a Location{world=Craft..... etc which I think is not really the value would like to see returned.

On the other side we have Player.toString which also returns a similar value but also a Player.getName() which only returns the name.

Location.getName() returns only the world=worldname,x= etc which I think is more useful

I stuck with getName as it is similar with Player, World etc getName...

any feedback?

Wrong amount of values returned?
Wrong Method Name?