Merge pull request #262 from hilburn/master

Fixes API
This commit is contained in:
WayofTime 2015-02-25 06:11:42 -05:00
commit 2f47ffa955
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;