AtriusX / Waystones

A small plugin that brings long-distance teleportation to Minecraft survival mode!
https://www.spigotmc.org/resources/waystones.93917/
11 stars 7 forks source link

Fix world ratio oversight #37

Closed AtriusX closed 3 years ago

AtriusX commented 3 years ago

This PR primarily aims to fix an issue with world ratios working primarily off of world names and not dimension type. Both functionalities are useful in different ways, so this updates the system to make use of both approaches. When retrieving a ratio, the ratio will first attempt to retrieve by world name, and then by dimension type if no ratio is set.

An additional side effect of this change is that it's now possible to modify the world ratios file via a new command. This will make configuration of this system much more accessible to admins who do not have file system access. This also results in the inclusion of a new permission: waystones.ratio.