mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-14 14:55:14 +01:00
7c01199763
1. Made respawn map private and final. 2. Changed value type from World to UUID. (weaker reference) 3. Removed ignoreCancelled from both listener annotations. (neither events can even be cancelled) 4. Changed program flow from "if-so-continue" to "if-not-return". (easier to follow and read) 5. Added basic comments on what each check does. 6. Removed redundant flag check. (wouldn't be in the map if it wasn't true) 7. Removed redundant Map contains, get, and then remove calls. (A simple call to remove and a null check are more efficient) |
||
---|---|---|
.. | ||
java/world/bentobox/bentobox | ||
resources |