mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-15 23:24:52 +09:00
remoteMap place rotated items, fix selection box offset
This commit is contained in:
1 parent
f5eef7c1bb
commit
e6d734d4eb
3 files changed
+27
-6
No files matched your search
@@ -69,8 +69,8 @@ class remoteMap {
|
||||
// add entity to the chunkStore database because create_entity does not trigger any events
|
||||
let name = req.name;
|
||||
let entity = {name};
|
||||
if(req.direction){
|
||||
entity.direction = req.direction;
|
||||
if(typeof req.direction == "string"){
|
||||
entity.rot = req.direction;
|
||||
}
|
||||
this.addEntity(req.position.x, req.position.y, entity);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user