Handle reborns(rebirths) - set/get from db, flag to enable/disable and 1 basic NPC to handle it (#413)
* Added ability to handle reborn, option to enable/disable in ServerConstant * Basic rebirth NPC for wolf spirit Ryko chan - id 9010021 * Added player message when rebirth system is off * Removed some forgotten comments * Ryko now displays original message if rebirth is not enabled
This commit is contained in:
12
src/tools/exceptions/NotEnabledException.java
Normal file
12
src/tools/exceptions/NotEnabledException.java
Normal file
@@ -0,0 +1,12 @@
|
||||
package tools.exceptions;
|
||||
|
||||
public class NotEnabledException extends RuntimeException {
|
||||
|
||||
public NotEnabledException() {
|
||||
super("Feature not enabled, please enable the feature in ServerConstant");
|
||||
}
|
||||
|
||||
public NotEnabledException(String message) {
|
||||
super(message);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user