All Downloads are FREE. Search and download functionalities are using the official Maven repository.

emu.grasscutter.game.props.ItemUseAction.ItemUseGainCardProduct Maven / Gradle / Ivy

The newest version!
package emu.grasscutter.game.props.ItemUseAction;

import emu.grasscutter.game.props.ItemUseOp;

public class ItemUseGainCardProduct extends ItemUseAction {
    @Override
    public ItemUseOp getItemUseOp() {
        return ItemUseOp.ITEM_USE_GAIN_CARD_PRODUCT;
    }

    public ItemUseGainCardProduct(String[] useParam) {
    }

    @Override
    public boolean useItem(UseItemParams params) {
        return params.player.rechargeMoonCard();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy