aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0493-Fix-CraftTeam-null-check.patch
diff options
context:
space:
mode:
authorrgnter <[email protected]>2022-05-21 11:27:12 +0200
committerShane Freeder <[email protected]>2022-05-24 05:27:24 +0100
commitd8108b5416ff5482546c380d2cf5eae9cfda9eed (patch)
tree735c9c1702a8113dcd13a2d9c31cea70cf00195c /patches/server/0493-Fix-CraftTeam-null-check.patch
parent123cad5d3ea5d87746d36caff38fbff9f3823de1 (diff)
downloadPaper-d8108b5416ff5482546c380d2cf5eae9cfda9eed.tar.gz
Paper-d8108b5416ff5482546c380d2cf5eae9cfda9eed.zip
team color parameter may be null, causing NPE
Diffstat (limited to 'patches/server/0493-Fix-CraftTeam-null-check.patch')
-rw-r--r--patches/server/0493-Fix-CraftTeam-null-check.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0493-Fix-CraftTeam-null-check.patch b/patches/server/0493-Fix-CraftTeam-null-check.patch
index a86676f8a2..2772e3f4bc 100644
--- a/patches/server/0493-Fix-CraftTeam-null-check.patch
+++ b/patches/server/0493-Fix-CraftTeam-null-check.patch
@@ -5,10 +5,10 @@ Subject: [PATCH] Fix CraftTeam null check
diff --git a/src/main/java/org/bukkit/craftbukkit/scoreboard/CraftTeam.java b/src/main/java/org/bukkit/craftbukkit/scoreboard/CraftTeam.java
-index df1288e2e89716bba5ef73d2cdeb9a567f46a297..af4ab4be3722d3349f7f71da062dee493cd2aafe 100644
+index 8aa74d3d04efc88f48b79b677d63d464e1fef89e..0e1fbecfc3062ceac425607507caa54b0d007130 100644
--- a/src/main/java/org/bukkit/craftbukkit/scoreboard/CraftTeam.java
+++ b/src/main/java/org/bukkit/craftbukkit/scoreboard/CraftTeam.java
-@@ -260,7 +260,7 @@ final class CraftTeam extends CraftScoreboardComponent implements Team {
+@@ -261,7 +261,7 @@ final class CraftTeam extends CraftScoreboardComponent implements Team {
@Override
public boolean hasEntry(String entry) throws IllegalArgumentException, IllegalStateException {