stdNullPtr / TorchLight-SpigotMC

TorchLight is a Minecraft plugin that illuminates your offhand torch, enhancing exploration with dynamic lighting. It automatically brightens your surroundings when wielding a torch, providing an immersive experience in dark environments. Enjoy simple commands to toggle the feature.
https://www.spigotmc.org/resources/torch-light.116707/
GNU General Public License v3.0
1 stars 0 forks source link

Organize code files #7

Closed stdNullPtr closed 3 months ago

stdNullPtr commented 3 months ago

Currently, everything is inside the main plugin class.

Listeners must be separated and unregistered/registered with the toggling command, instead of using a boolean to check if they are on.

stdNullPtr commented 3 months ago

Removed litBlocks Set<> in favor of simplicity, it shouldn't be needed. If something like this is needed, it should be implemented with a Queue or some sort. Refer to #8.