mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-03 14:38:53 +00:00
Add todo note
This commit is contained in:
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)
|
@EventHandler(priority = EventPriority.NORMAL)
|
||||||
public void onPlayerUpdateRespawnLocation(PlayerInteractEvent event) {
|
public void onPlayerUpdateRespawnLocation(PlayerInteractEvent event) {
|
||||||
if (!(plugin.getSettings().crossServer && plugin.getSettings().globalRespawning)) return;
|
if (!(plugin.getSettings().crossServer && plugin.getSettings().globalRespawning)) return;
|
||||||
|
|||||||
Reference in new issue
Block a user