Merge branch 'master' of https://github.com/Tofaa2/EntityLib
This commit is contained in:
commit
4bf35da867
1 changed files with 7 additions and 0 deletions
|
@ -35,6 +35,13 @@ public class WrapperEntity implements Tickable {
|
|||
this.entityId = entityId;
|
||||
}
|
||||
|
||||
/**
|
||||
Internally sets the location of this entity. This does not inform any of the entities viewers about this change.
|
||||
*/
|
||||
public void setLocation(Location location) {
|
||||
this.location = location;
|
||||
}
|
||||
|
||||
public void refresh() {
|
||||
if (!spawned) return;
|
||||
sendPacketToViewers(meta.createPacket());
|
||||
|
|
Loading…
Reference in a new issue