mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-27 21:19:00 +01:00
12 lines
369 B
Diff
12 lines
369 B
Diff
--- a/net/minecraft/server/ChatBaseComponent.java
|
|
+++ b/net/minecraft/server/ChatBaseComponent.java
|
|
@@ -111,7 +111,7 @@
|
|
}
|
|
|
|
public int hashCode() {
|
|
- return 31 * this.b.hashCode() + this.a.hashCode();
|
|
+ return 31 * this.getChatModifier().hashCode() + this.a.hashCode(); // CraftBukkit - fix null pointer
|
|
}
|
|
|
|
public String toString() {
|