mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-17 09:55:11 +00:00
Move Collisions to Stats
This commit is contained in:
1 parent
169e8784f1
commit
48baa6de5f
7 files changed
+41
-43
No files matched your search
@@ -1363,10 +1363,10 @@ public class ScriptNpc<T extends EntityNPCInterface> extends ScriptLiving<T> imp
|
||||
}
|
||||
|
||||
public void setCollisionType(int type){
|
||||
npc.display.collidesWith = type;
|
||||
npc.stats.collidesWith = type;
|
||||
}
|
||||
public int getCollisionType(){
|
||||
return npc.display.collidesWith;
|
||||
return npc.stats.collidesWith;
|
||||
}
|
||||
|
||||
public void updateClient() { this.npc.updateClient(); }
|
||||
|
||||
Reference in new issue
Block a user