mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-13 04:36:44 +00:00
17 lines
330 B
Java
17 lines
330 B
Java
![]() |
package com.earth2me.essentials.api;
|
||
|
|
||
|
import static com.earth2me.essentials.I18n._;
|
||
|
|
||
|
public class InvalidWorldException extends Exception {
|
||
|
private final String world;
|
||
|
|
||
|
public InvalidWorldException(final String world) {
|
||
|
super(_("invalidWorld"));
|
||
|
this.world = world;
|
||
|
}
|
||
|
|
||
|
public String getWorld() {
|
||
|
return this.world;
|
||
|
}
|
||
|
}
|