diff options
author | bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com> | 2019-12-09 18:05:35 +0100 |
---|---|---|
committer | bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com> | 2019-12-09 18:05:35 +0100 |
commit | cc5710d5547f8766c6600e4f71962f4721fca505 (patch) | |
tree | 2f527feb6eb2474be16bfbbff582b2f37fe01f07 /src/main | |
parent | ad8bf1e21b258b46bd98a694b9ccd31c1ac83eea (diff) | |
download | GT5-Unofficial-cc5710d5547f8766c6600e4f71962f4721fca505.tar.gz GT5-Unofficial-cc5710d5547f8766c6600e4f71962f4721fca505.tar.bz2 GT5-Unofficial-cc5710d5547f8766c6600e4f71962f4721fca505.zip |
Updated Copyright
Signed-off-by: bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>
Former-commit-id: eea59a9e5c0ad3f66137668fdd3defd3a7ddb27b
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/com/github/bartimaeusnek/bartworks/system/object/AbstractedStack.java | 4 |
1 files changed, 2 insertions, 2 deletions
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<Integer,Short>(Item.getIdFromItem(itemStack.getItem()), (short) itemStack.getItemDamage()); + this.idDamage = new Pair<>(Item.getIdFromItem(itemStack.getItem()), (short) itemStack.getItemDamage()); this.mTag = itemStack.getTagCompound(); } |