mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 11:29:05 +00:00
ScriptParticle:
-The spawnInWorld() function now requires a ScriptWorld object to be passed in as the first parameter. -New spawnInWorld() function with its only parameter being a ScriptWorld object. Spawns in the world with the particle's x,y,z variables.
This commit is contained in:
1 parent
a825d885f5
commit
d49a31a4fe
5 files changed
+47
-15
No files matched your search
@@ -322,7 +322,7 @@ public class NoppesUtilServer {
|
||||
float rotationZ1, float rotationZ2, float rotationZRate, int rotationZRateStart,
|
||||
boolean facePlayer, int width, int height, int offsetX, int offsetY,
|
||||
int animRate, boolean animLoop, int animStart, int animEnd,
|
||||
int entityID
|
||||
int entityID, int dimensionID
|
||||
){
|
||||
Server.sendToAll(EnumPacketClient.SCRIPTED_PARTICLE,
|
||||
directory, HEXcolor, amount, maxAge,
|
||||
@@ -335,7 +335,7 @@ public class NoppesUtilServer {
|
||||
rotationZ1, rotationZ2, rotationZRate, rotationZRateStart,
|
||||
facePlayer, width, height, offsetX, offsetY,
|
||||
animRate, animLoop, animStart, animEnd,
|
||||
entityID
|
||||
entityID, dimensionID
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user