Removed debug message :D

This commit is contained in:
Jules 2023-06-26 00:34:22 +02:00
parent f1366a584d
commit 00f1581707
2 changed files with 0 additions and 6 deletions

View File

@ -1026,8 +1026,6 @@ public class PlayerData extends SynchronizedDataHolder implements OfflinePlayerD
Bukkit.getPluginManager().callEvent(event); Bukkit.getPluginManager().callEvent(event);
if (event.isCancelled()) return false; if (event.isCancelled()) return false;
Bukkit.broadcastMessage("Entering casting mode");
this.skillCasting = SkillCastingMode.getCurrent().newInstance(this); this.skillCasting = SkillCastingMode.getCurrent().newInstance(this);
return true; return true;
} }
@ -1058,8 +1056,6 @@ public class PlayerData extends SynchronizedDataHolder implements OfflinePlayerD
if (event.isCancelled()) return false; if (event.isCancelled()) return false;
} }
Bukkit.broadcastMessage("Leaving casting mode");
skillCasting.close(); skillCasting.close();
this.skillCasting = null; this.skillCasting = null;
setLastActivity(PlayerActivity.ACTION_BAR_MESSAGE, 0); // Reset action bar setLastActivity(PlayerActivity.ACTION_BAR_MESSAGE, 0); // Reset action bar

View File

@ -12,7 +12,6 @@ import net.Indyuce.mmocore.api.event.PlayerKeyPressEvent;
import net.Indyuce.mmocore.api.player.PlayerData; import net.Indyuce.mmocore.api.player.PlayerData;
import net.Indyuce.mmocore.gui.api.item.Placeholders; import net.Indyuce.mmocore.gui.api.item.Placeholders;
import net.Indyuce.mmocore.skill.cast.*; import net.Indyuce.mmocore.skill.cast.*;
import org.bukkit.Bukkit;
import org.bukkit.GameMode; import org.bukkit.GameMode;
import org.bukkit.configuration.ConfigurationSection; import org.bukkit.configuration.ConfigurationSection;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
@ -173,7 +172,6 @@ public class KeyCombos implements SkillCastingListener {
@Override @Override
public void onTick() { public void onTick() {
Bukkit.broadcastMessage("runnable combos");
if (actionBarOptions != null) if (actionBarOptions.isSubtitle) if (actionBarOptions != null) if (actionBarOptions.isSubtitle)
getCaster().getPlayer().sendTitle(" ", actionBarOptions.format(this), 0, 20, 0); getCaster().getPlayer().sendTitle(" ", actionBarOptions.format(this), 0, 20, 0);
else getCaster().displayActionBar(actionBarOptions.format(this)); else getCaster().displayActionBar(actionBarOptions.format(this));