diff options
Diffstat (limited to 'Spigot-Server-Patches/0256-Expand-World.spawnParticle-API-and-add-Builder.patch')
-rw-r--r-- | Spigot-Server-Patches/0256-Expand-World.spawnParticle-API-and-add-Builder.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Spigot-Server-Patches/0256-Expand-World.spawnParticle-API-and-add-Builder.patch b/Spigot-Server-Patches/0256-Expand-World.spawnParticle-API-and-add-Builder.patch index cc82cba255..bbbe9f3f6b 100644 --- a/Spigot-Server-Patches/0256-Expand-World.spawnParticle-API-and-add-Builder.patch +++ b/Spigot-Server-Patches/0256-Expand-World.spawnParticle-API-and-add-Builder.patch @@ -1,4 +1,4 @@ -From 22cea100009c3346d73e002abd6786f2766a9795 Mon Sep 17 00:00:00 2001 +From 5a55d82dd5c5d083d78989e118dfc04954b88b5e Mon Sep 17 00:00:00 2001 From: Aikar <[email protected]> Date: Tue, 15 Aug 2017 22:29:12 -0400 Subject: [PATCH] Expand World.spawnParticle API and add Builder @@ -10,7 +10,7 @@ Adds an option to control the force mode of the particle. This adds a new Builder API which is much friendlier to use. diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java -index 65fe50882b..ee06457653 100644 +index 682e0b87e..a5dfc1ebf 100644 --- a/src/main/java/net/minecraft/server/WorldServer.java +++ b/src/main/java/net/minecraft/server/WorldServer.java @@ -1206,12 +1206,17 @@ public class WorldServer extends World implements IAsyncTaskHandler { @@ -34,10 +34,10 @@ index 65fe50882b..ee06457653 100644 if (this.a(entityplayer, force, d0, d1, d2, packetplayoutworldparticles)) { // CraftBukkit diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java -index a258e8208b..cb5efa6299 100644 +index fe53db5d2..6b083daa9 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java -@@ -1622,11 +1622,17 @@ public class CraftWorld implements World { +@@ -1770,11 +1770,17 @@ public class CraftWorld implements World { @Override public <T> void spawnParticle(Particle particle, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, double extra, T data, boolean force) { @@ -57,5 +57,5 @@ index a258e8208b..cb5efa6299 100644 x, y, z, // Position count, // Count -- -2.19.0 +2.19.1 |