Class ZoneCollisionCheck

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

public class ZoneCollisionCheck extends ScriptImpl
Searches for inconsistencies in zone collisions. For every square that there is an open way out, should be also an open square in the neighbouring zone.

No attention paid to performance. There should be no reason to run this on anything but a test server.

  • Constructor Details

    • ZoneCollisionCheck

      public ZoneCollisionCheck()
  • 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.