mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-27 23:33:00 +00:00
[ci skip] spotlessApply with the new settings
This commit is contained in:
1 parent
4711be8028
commit
94aa9346b1
1282 files changed
+15755
-16296
No files matched your search
@@ -5,18 +5,20 @@
|
||||
******************************************************************************/
|
||||
package forestry.api.mail;
|
||||
|
||||
import com.mojang.authlib.GameProfile;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
import com.mojang.authlib.GameProfile;
|
||||
|
||||
public class TradeStationInfo {
|
||||
|
||||
public final IMailAddress address;
|
||||
public final GameProfile owner;
|
||||
public final ItemStack tradegood;
|
||||
public final ItemStack[] required;
|
||||
public final IPostalState state;
|
||||
|
||||
public TradeStationInfo(
|
||||
IMailAddress address, GameProfile owner, ItemStack tradegood, ItemStack[] required, IPostalState state) {
|
||||
public TradeStationInfo(IMailAddress address, GameProfile owner, ItemStack tradegood, ItemStack[] required,
|
||||
IPostalState state) {
|
||||
if (!address.isTrader()) {
|
||||
throw new IllegalArgumentException("TradeStation address must be a trader");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user