This commit is contained in:
Vincent Lee committed 2019-11-21 11:35:07 -06:00
1 parent a1d05345df
commit d54ebc610d
2 files changed
+2 -1

No files matched your search

@@ -130,7 +130,7 @@ public final class ItemNBTHelper {
@Nullable
public static UUID getUuid(ItemStack stack, String tag) {
return verifyExistance(stack, tag) ? stack.getOrCreateTag().getUniqueId(tag) : null;
return verifyExistance(stack, tag + "Most") && verifyExistance(stack, tag + "Least") ? stack.getOrCreateTag().getUniqueId(tag) : null;
}
public static ListNBT getList(ItemStack stack, String tag, int objtype, boolean nullifyOnFail) {
@@ -40,6 +40,7 @@ import java.util.UUID;
public class ItemTerraSword extends ItemManasteelSword implements ILensEffect {
// todo 1.14 use throwableentity's owner system instead of tracking it ourselves
private static final String TAG_ATTACKER_UUID = "attackerUuid";
private static final int MANA_PER_DAMAGE = 100;