mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-24 05:10:42 -04:00
Remove an obsolete bit of code
This commit is contained in:
parent
424ba46364
commit
c87309176a
@ -1,7 +1,6 @@
|
|||||||
// Copyright 2014-2017 ClassicalSharp | Licensed under BSD-3
|
// Copyright 2014-2017 ClassicalSharp | Licensed under BSD-3
|
||||||
using System;
|
using System;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using ClassicalSharp.GraphicsAPI;
|
|
||||||
#if ANDROID
|
#if ANDROID
|
||||||
using Android.Graphics;
|
using Android.Graphics;
|
||||||
#endif
|
#endif
|
||||||
|
@ -31,12 +31,6 @@ namespace ClassicalSharp.Commands {
|
|||||||
game.Chat.Add("&e/client model: &cYou didn't specify a model name.");
|
game.Chat.Add("&e/client model: &cYou didn't specify a model name.");
|
||||||
} else {
|
} else {
|
||||||
game.LocalPlayer.SetModel(Utils.ToLower(args[1]));
|
game.LocalPlayer.SetModel(Utils.ToLower(args[1]));
|
||||||
if (args.Length >= 4) {
|
|
||||||
ClassicalSharp.Entities.LocationUpdate update = ClassicalSharp.Entities.LocationUpdate.Empty();
|
|
||||||
if (args[2] == "x") update.RotX = float.Parse(args[3]);
|
|
||||||
if (args[2] == "z") update.RotZ = float.Parse(args[3]);
|
|
||||||
game.LocalPlayer.SetLocation(update, true);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user