aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0925-Add-experience-points-API.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0925-Add-experience-points-API.patch')
-rw-r--r--patches/server/0925-Add-experience-points-API.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0925-Add-experience-points-API.patch b/patches/server/0925-Add-experience-points-API.patch
index c3e7bd7755..9844f2f32a 100644
--- a/patches/server/0925-Add-experience-points-API.patch
+++ b/patches/server/0925-Add-experience-points-API.patch
@@ -18,10 +18,10 @@ index 9706b0df7d0c617a181ba9f78b010e2e58c84454..a77c2847a3bc161f0bf25eb4c78305ce
// Paper start - send while respecting visibility
private static void sendSoundEffect(Player fromEntity, double x, double y, double z, SoundEvent soundEffect, SoundSource soundCategory, float volume, float pitch) {
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
-index bb2c41e56b6913c9564e0eac99182cc9c2ea4be4..ee937b6b6ee1e4b2fcedd7b200a749ded169eea4 100644
+index c24f27206dea30b99f2c5b80d8e011b7bc2233e8..4a886f11b10395143879e1c1795afc269eed109d 100644
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
-@@ -1916,6 +1916,49 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
+@@ -1920,6 +1920,49 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
Preconditions.checkArgument(exp >= 0, "Total experience points must not be negative (%s)", exp);
this.getHandle().totalExperience = exp;
}