mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-17 18:05:10 +00:00
IPos objects now use double values in calculations for distance, addition, cross product, etc.
This commit is contained in:
1 parent
9de16f1eef
commit
b592bb5d5e
7 files changed
+58
-43
No files matched your search
@@ -233,7 +233,7 @@ public class ScriptParticle implements IParticle {
|
||||
}
|
||||
|
||||
public void setPosition(IPos pos) {
|
||||
this.setPosition(pos.getX(),pos.getY(),pos.getZ());
|
||||
this.setPosition(pos.getXD(),pos.getYD(),pos.getZD());
|
||||
}
|
||||
public void getPos() {
|
||||
NpcAPI.Instance().getIPos(x,y,z);
|
||||
|
||||
Reference in new issue
Block a user