mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-15 13:45:56 -05:00
SPIGOT-2499: Remove final from ItemStack hashCode
By: md_5 <git@md-5.net>
This commit is contained in:
1 parent
7a14c68810
commit
ef24ef29c8
1 file changed
+1
-1
@@ -359,7 +359,7 @@ public class ItemStack implements Cloneable, ConfigurationSerializable {
|
||||
|
||||
@Override
|
||||
@Utility
|
||||
public final int hashCode() {
|
||||
public int hashCode() {
|
||||
int hash = 1;
|
||||
|
||||
hash = hash * 31 + getTypeId();
|
||||
|
||||
Reference in new issue
Block a user