cleanup
This commit is contained in:
parent
7e1668ab4c
commit
0b3b86b911
1 changed files with 1 additions and 4 deletions
|
@ -17,10 +17,7 @@
|
||||||
*/
|
*/
|
||||||
package tv.alterNERD.VaultModTweaks.integration.mixin;
|
package tv.alterNERD.VaultModTweaks.integration.mixin;
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
import org.spongepowered.asm.mixin.Mixin;
|
import org.spongepowered.asm.mixin.Mixin;
|
||||||
import org.spongepowered.asm.mixin.Shadow;
|
|
||||||
import org.spongepowered.asm.mixin.injection.At;
|
import org.spongepowered.asm.mixin.injection.At;
|
||||||
import org.spongepowered.asm.mixin.injection.Inject;
|
import org.spongepowered.asm.mixin.injection.Inject;
|
||||||
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
|
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
|
||||||
|
@ -52,7 +49,7 @@ public class MixinVaultGearEnchantmentConfig {
|
||||||
cancellable = true,
|
cancellable = true,
|
||||||
remap = false
|
remap = false
|
||||||
)
|
)
|
||||||
private void readJsonCallback(EnchantmentEntry enrty, CallbackInfoReturnable<EnchantmentCost> ci) {
|
private void readJsonCallback(EnchantmentEntry entry, CallbackInfoReturnable<EnchantmentCost> ci) {
|
||||||
if (Configuration.ENCHANTS_FORFREE.get()) {
|
if (Configuration.ENCHANTS_FORFREE.get()) {
|
||||||
VaultModTweaks.LOGGER.info(I18n.get("the_vault_tweaks.log.inject.enchanter.forfree"));
|
VaultModTweaks.LOGGER.info(I18n.get("the_vault_tweaks.log.inject.enchanter.forfree"));
|
||||||
ci.setReturnValue(EnchantmentCost.EMPTY);
|
ci.setReturnValue(EnchantmentCost.EMPTY);
|
||||||
|
|
Loading…
Reference in a new issue