mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 19:59:36 +00:00
Fix #3024
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user