From cc5710d5547f8766c6600e4f71962f4721fca505 Mon Sep 17 00:00:00 2001 From: bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com> Date: Mon, 9 Dec 2019 18:05:35 +0100 Subject: Updated Copyright Signed-off-by: bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com> Former-commit-id: eea59a9e5c0ad3f66137668fdd3defd3a7ddb27b --- .../github/bartimaeusnek/bartworks/system/object/AbstractedStack.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/com') diff --git a/src/main/java/com/github/bartimaeusnek/bartworks/system/object/AbstractedStack.java b/src/main/java/com/github/bartimaeusnek/bartworks/system/object/AbstractedStack.java index a46b3b1067..2aeb8cef35 100644 --- a/src/main/java/com/github/bartimaeusnek/bartworks/system/object/AbstractedStack.java +++ b/src/main/java/com/github/bartimaeusnek/bartworks/system/object/AbstractedStack.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019 bartimaeusnek + * Copyright (c) 2018-2019 bartimaeusnek * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -69,7 +69,7 @@ public class AbstractedStack implements Serializable { public AbstractedStack(ItemStack itemStack) { if (itemStack == null) throw new UnsupportedOperationException(); - this.idDamage = new Pair(Item.getIdFromItem(itemStack.getItem()), (short) itemStack.getItemDamage()); + this.idDamage = new Pair<>(Item.getIdFromItem(itemStack.getItem()), (short) itemStack.getItemDamage()); this.mTag = itemStack.getTagCompound(); } -- cgit