aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0661-Add-missing-Validate-calls-to-CraftServer-getSpawnLi.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0661-Add-missing-Validate-calls-to-CraftServer-getSpawnLi.patch')
-rw-r--r--patches/server/0661-Add-missing-Validate-calls-to-CraftServer-getSpawnLi.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0661-Add-missing-Validate-calls-to-CraftServer-getSpawnLi.patch b/patches/server/0661-Add-missing-Validate-calls-to-CraftServer-getSpawnLi.patch
index 23ebb6f9c1..604f6800ee 100644
--- a/patches/server/0661-Add-missing-Validate-calls-to-CraftServer-getSpawnLi.patch
+++ b/patches/server/0661-Add-missing-Validate-calls-to-CraftServer-getSpawnLi.patch
@@ -6,10 +6,10 @@ Subject: [PATCH] Add missing Validate calls to CraftServer#getSpawnLimit
Copies appropriate checks from CraftWorld#getSpawnLimit
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index d06e1f67e675034fb5d2ed71f409848155521ada..87ef72b05f6bbeac7f0fcdb0bb27b359b277898c 100644
+index c0eca359919c55ba7b33520277c124eb54d935d7..1a2081267e85ef5c1edd4808fbda5bb442a00252 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-@@ -2337,6 +2337,8 @@ public final class CraftServer implements Server {
+@@ -2339,6 +2339,8 @@ public final class CraftServer implements Server {
@Override
public int getSpawnLimit(SpawnCategory spawnCategory) {
// Paper start - Add mobcaps commands