Fixes API

This commit is contained in:
hilburn 2015-02-25 03:22:23 +00:00
parent c12e95d07a
commit c8d6e6d5ae
3 changed files with 8 additions and 3 deletions

View file

@ -379,7 +379,12 @@ public class SoulNetworkHandler
}
}
public static boolean checkAndSetItemOwner(ItemStack item, EntityPlayer player)
public static void checkAndSetItemOwner(ItemStack item, EntityPlayer player)
{
checkAndSetItemPlayer(item, player);
}
public static boolean checkAndSetItemPlayer(ItemStack item, EntityPlayer player)
{
if (item.hasTagCompound() && !item.getTagCompound().getString("ownerName").equals("")) return true;