Add these back as wrappers for the new methods to fix a problem with Blood Arsenal.

This commit is contained in:
koolkrafter5 committed 2025-04-10 16:18:31 -04:00
1 parent 5a6c998070
commit 082b41cb8c
1 file changed
+20
@@ -180,6 +180,26 @@ public class EnergyItems extends Item implements IBindable {
return true;
}
@Deprecated
public static boolean checkAndSetItemOwner(ItemStack item, EntityPlayer player) {
return IBindable.checkAndSetItemOwner(item, player);
}
@Deprecated
public static void setItemOwner(ItemStack item, String ownerName) {
IBindable.setItemOwner(item, ownerName);
}
@Deprecated
public static void checkAndSetItemOwner(ItemStack item, String ownerName) {
IBindable.checkAndSetItemOwner(item, ownerName);
}
@Deprecated
public static String getOwnerName(ItemStack item) {
return IBindable.getOwnerName(item);
}
@Deprecated
public static void drainPlayerNetwork(EntityPlayer player, int damageToBeDone) {
String ownerName = SpellHelper.getUsername(player);