This commit is contained in:
TreemanKing 2024-04-01 15:32:55 +00:00 committed by GitHub
commit 80cd1b2629
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -96,6 +96,8 @@ public class Listeners implements Listener {
public void onJoinEvent(PlayerJoinEvent event) {
Player player = event.getPlayer();
if(player.hasMetadata(HAS_WARPED)) player.removeMetadata(HAS_WARPED, plugin);
Portal.joinCooldown.put(player.getName(), System.currentTimeMillis());
Location loc = player.getLocation();