nsporillo / GlobalWarming

Server side global warming mechanics in Minecraft!
GNU Lesser General Public License v3.0
473 stars 46 forks source link

[Internal] Bukkit class / internal class mismatch #1

Closed georgePadolsey closed 6 years ago

georgePadolsey commented 6 years ago

There's an overlap between names of classes such as World/Location and those used by Bukkit. This means the full class name is required.

A solution to this is prefixing all similar spelled classes. For example "G" for global (warming).

An example of the behaviour: https://github.com/nsporillo/GlobalWarming/blob/master/src/main/java/net/porillo/listeners/WorldListener.java#L20

This is definitely not a big issue though, if sorted, clears up the code a little bit :)