mirror of
https://github.com/PaperMC/Paper.git
synced 2025-04-09 13:35:49 +02:00
SPIGOT-2499: Remove final from ItemStack hashCode
By: md_5 <git@md-5.net>
This commit is contained in:
parent
7a14c68810
commit
ef24ef29c8
@ -359,7 +359,7 @@ public class ItemStack implements Cloneable, ConfigurationSerializable {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Utility
|
@Utility
|
||||||
public final int hashCode() {
|
public int hashCode() {
|
||||||
int hash = 1;
|
int hash = 1;
|
||||||
|
|
||||||
hash = hash * 31 + getTypeId();
|
hash = hash * 31 + getTypeId();
|
||||||
|
Loading…
Reference in New Issue
Block a user