Remove an obsolete bit of code

This commit is contained in:
UnknownShadow200 2017-05-15 20:54:06 +10:00
parent 424ba46364
commit c87309176a
2 changed files with 0 additions and 7 deletions

View File

@ -1,7 +1,6 @@
// Copyright 2014-2017 ClassicalSharp | Licensed under BSD-3
using System;
using System.Drawing;
using ClassicalSharp.GraphicsAPI;
#if ANDROID
using Android.Graphics;
#endif

View File

@ -31,12 +31,6 @@ namespace ClassicalSharp.Commands {
game.Chat.Add("&e/client model: &cYou didn't specify a model name.");
} else {
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);
}
}
}
}