mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-24 05:03:34 -04:00
now /setspawn updates your own spawn point
This commit is contained in:
parent
bd09b32b52
commit
f8d672fc7f
@ -36,6 +36,7 @@ namespace MCGalaxy.Commands {
|
||||
p.level.rotx = p.rot[0];
|
||||
p.level.roty = p.rot[1];
|
||||
p.level.changed = true;
|
||||
p.SpawnEntity(p, Entities.SelfID, p.pos[0], p.pos[1], p.pos[2], p.rot[0], p.rot[1]);
|
||||
}
|
||||
|
||||
public override void Help(Player p) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user