Particle packets are only sent to players in the particle's world now.

This commit is contained in:
Luis C.M committed 2022-07-02 13:07:23 -05:00
1 parent 9ceec111ba
commit c8a3b7825d
5 files changed
+19 -25

No files matched your search

@@ -154,7 +154,7 @@ public class PacketHandlerClient extends PacketHandlerServer{
CustomNpcs.proxy.openGui(NoppesUtil.getLastNpc(), gui, buffer.readInt(), buffer.readInt(), buffer.readInt());
}
else if(type == EnumPacketClient.SCRIPTED_PARTICLE){
NoppesUtil.spawnScriptedParticle(buffer);
NoppesUtil.spawnScriptedParticle(player, buffer);
}
else if(type == EnumPacketClient.PARTICLE){
NoppesUtil.spawnParticle(buffer);