mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 04:05:50 -07:00
SPIGOT-2499: Remove final from ItemStack hashCode
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user