mirror of
https://github.com/Melledy/LunarCore.git
synced 2025-12-13 22:04:36 +01:00
Remove a sanity check when starting battle
This commit is contained in:
@@ -30,12 +30,6 @@ public class BattleService extends BaseGameService {
|
||||
}
|
||||
|
||||
public void startBattle(Player player, int casterId, int attackedGroupId, boolean castedSkill, Set<Integer> targets) {
|
||||
// Sanity check to make sure player isnt in a battle
|
||||
if (player.isInBattle()) {
|
||||
player.sendPacket(new PacketSceneCastSkillScRsp());
|
||||
return;
|
||||
}
|
||||
|
||||
// Setup variables
|
||||
List<GameEntity> targetEntities = new ArrayList<>();
|
||||
boolean isPlayerCaster = false; // Set true if the player is the one casting
|
||||
|
||||
Reference in New Issue
Block a user