Package games.stendhal.server.script
Class FixNegativeHp
java.lang.Object
games.stendhal.server.core.scripting.ScriptImpl
games.stendhal.server.script.FixNegativeHp
- All Implemented Interfaces:
LoginListener
,Script
fixed negative hp
- Author:
- hendrik
-
Field Summary
Fields inherited from class games.stendhal.server.core.scripting.ScriptImpl
sandbox
-
Constructor Summary
-
Method Summary
Methods inherited from class games.stendhal.server.core.scripting.ScriptImpl
load, unload
-
Constructor Details
-
FixNegativeHp
public FixNegativeHp()
-
-
Method Details
-
execute
Description copied from interface:Script
Executes this script.- Specified by:
execute
in interfaceScript
- Overrides:
execute
in classScriptImpl
- Parameters:
admin
- the admin who load it ornull
on server start.args
- the arguments the admin specified ornull
on server start.
-
onLoggedIn
Description copied from interface:LoginListener
Is called after a player logged into the game.- Specified by:
onLoggedIn
in interfaceLoginListener
- Parameters:
player
- the player who has logged in
-