Refactor various minor things

This commit is contained in:
P0nk
2022-08-02 17:45:47 +02:00
parent 4fd1daada4
commit 5afb09d798
6 changed files with 19 additions and 16 deletions

View File

@@ -256,8 +256,8 @@ public class Reactor extends AbstractMapObject {
cancelReactorTimeout();
attackHit = wHit;
if (YamlConfig.config.server.USE_DEBUG == true) {
c.getPlayer().dropMessage(5, "Hitted REACTOR " + this.getId() + " with POS " + charPos + " , STANCE " + stance + " , SkillID " + skillid + " , STATE " + stats.getType(state) + " STATESIZE " + stats.getStateSize(state));
if (YamlConfig.config.server.USE_DEBUG) {
c.getPlayer().dropMessage(5, "Hitted REACTOR " + this.getId() + " with POS " + charPos + " , STANCE " + stance + " , SkillID " + skillid + " , STATE " + state + " STATESIZE " + stats.getStateSize(state));
}
ReactorScriptManager.getInstance().onHit(c, this);