now /setspawn updates your own spawn point

This commit is contained in:
UnknownShadow200 2017-02-13 22:02:10 +11:00
parent bd09b32b52
commit f8d672fc7f

View File

@ -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) {