Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Cleanup of enchantments #361

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion SpongeCommon
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
*/
package org.spongepowered.server.mixin.core.enchantment;

import org.spongepowered.api.item.Enchantment;
import org.spongepowered.api.item.enchantment.EnchantmentType;
import org.spongepowered.api.item.inventory.ItemStack;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;

@Mixin(net.minecraft.enchantment.Enchantment.class)
public abstract class MixinEnchantment implements Enchantment {
public abstract class MixinEnchantment implements EnchantmentType {

@Shadow public abstract boolean canApply(net.minecraft.item.ItemStack stack);

Expand Down