mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-21 20:42:35 +00:00
1 parent
1d1959b535
commit
92460d1d4a
20 files changed
+274
-155
No files matched your search
@@ -0,0 +1,25 @@
|
||||
package forestry.mail;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
|
||||
import forestry.api.mail.IPostalState;
|
||||
import forestry.core.utils.Translator;
|
||||
|
||||
public class ResponseNotMailable implements IPostalState {
|
||||
@Nonnull
|
||||
private final IPostalState state;
|
||||
|
||||
public ResponseNotMailable(@Nonnull IPostalState state) {
|
||||
this.state = state;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isOk() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getDescription() {
|
||||
return Translator.translateToLocalFormatted("for.chat.mail.response.not.mailable.format", state.getDescription());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user