stendhal/tests/utilities/RPClass/SheepFoodTestHelper.java
2017-05-28 01:03:01 +02:00

26 lines
1.2 KiB
Java

/* $Id$ */
/***************************************************************************
* (C) Copyright 2003-2010 - Stendhal *
***************************************************************************
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
package utilities.RPClass;
import games.stendhal.server.entity.mapstuff.spawner.SheepFood;
import marauroa.common.game.RPClass;
public class SheepFoodTestHelper {
public static void generateRPClasses() {
PassiveEntityRespawnPointTestHelper.generateRPClasses();
if (!RPClass.hasRPClass("food")) {
SheepFood.generateRPClass();
}
}
}