mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-12 20:29:20 +00:00
17 lines
366 B
Java
17 lines
366 B
Java
package com.earth2me.essentials.api;
|
|
|
|
import static com.earth2me.essentials.I18n.tl;
|
|
|
|
|
|
public class InvalidWorldException extends Exception {
|
|
private final String world;
|
|
|
|
public InvalidWorldException(final String world) {
|
|
super(tl("invalidWorld"));
|
|
this.world = world;
|
|
}
|
|
|
|
public String getWorld() {
|
|
return this.world;
|
|
}
|
|
}
|