Add todo note

This commit is contained in:
William committed 2022-08-26 23:36:39 +01:00
1 parent 59249f285a
commit ca9e60394d
1 file changed
+2
@@ -62,6 +62,8 @@ public class BukkitEventListener extends EventListener implements Listener {
});
}
//todo When defining paper-plugin.yml files gets merged, use the PlayerSetSpawnEvent in the paper module
// (https://jd.papermc.io/paper/1.19/com/destroystokyo/paper/event/player/PlayerSetSpawnEvent.html)
@EventHandler(priority = EventPriority.NORMAL)
public void onPlayerUpdateRespawnLocation(PlayerInteractEvent event) {
if (!(plugin.getSettings().crossServer && plugin.getSettings().globalRespawning)) return;