Class FixNegativeHp

java.lang.Object
games.stendhal.server.core.scripting.ScriptImpl
games.stendhal.server.script.FixNegativeHp
All Implemented Interfaces:
LoginListener, Script

public class FixNegativeHp extends ScriptImpl implements LoginListener
fixed negative hp
Author:
hendrik
  • Constructor Details

    • FixNegativeHp

      public FixNegativeHp()
  • Method Details

    • execute

      public void execute(Player admin, List<String> args)
      Description copied from interface: Script
      Executes this script.
      Specified by:
      execute in interface Script
      Overrides:
      execute in class ScriptImpl
      Parameters:
      admin - the admin who load it or null on server start.
      args - the arguments the admin specified or null on server start.
    • onLoggedIn

      public void onLoggedIn(Player player)
      Description copied from interface: LoginListener
      Is called after a player logged into the game.
      Specified by:
      onLoggedIn in interface LoginListener
      Parameters:
      player - the player who has logged in