geforkt von Mirrors/Paper
SPIGOT-326: Fix an overflow issue which caused particles to only show in a 1 block radius
Dieser Commit ist enthalten in:
Ursprung
bfc8900321
Commit
d41f0754f0
@ -1,4 +1,4 @@
|
||||
From e431a0f2dcd20553f425270ce3600e5632bbbc89 Mon Sep 17 00:00:00 2001
|
||||
From c9409fc8cb99716ccaeb59189f7dfc8eb9b0d951 Mon Sep 17 00:00:00 2001
|
||||
From: Thinkofdeath <thethinkofdeath@gmail.com>
|
||||
Date: Fri, 20 Dec 2013 21:36:06 +0000
|
||||
Subject: [PATCH] Particle API
|
||||
@ -132,7 +132,7 @@ index 8105872..204acdb 100644
|
||||
|
||||
public Spigot spigot()
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
index 2841e94..ce16883 100644
|
||||
index 2841e94..9f3e610 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
@@ -322,9 +322,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
@ -142,7 +142,7 @@ index 2841e94..ce16883 100644
|
||||
- int packetData = effect.getId();
|
||||
- PacketPlayOutWorldEvent packet = new PacketPlayOutWorldEvent(packetData, new BlockPosition(loc.getBlockX(), loc.getBlockY(), loc.getBlockZ()), data, false);
|
||||
- getHandle().playerConnection.sendPacket(packet);
|
||||
+ spigot().playEffect(loc, effect, data, 0, 0, 0, 0, 1, 1, Integer.MAX_VALUE);
|
||||
+ spigot().playEffect(loc, effect, data, 0, 0, 0, 0, 1, 1, 64); // Spigot
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren