Fix /copy @, fixes #452. (Thanks goodlyay)

This commit is contained in:
UnknownShadow200 2017-05-31 18:15:11 +10:00
parent 09e10eb75b
commit d2008f06ba
2 changed files with 5 additions and 6 deletions

View File

@ -539,15 +539,15 @@ namespace MCGalaxy {
selIndex++;
if (selIndex != selMarks.Length) return;
object state = selState; selState = null;
SelectionHandler callback = selCallback; selCallback = null;
Blockchange = null;
if (!block.IsPhysicsType) block = p.BlockBindings[block.RawID];
bool canRepeat = selCallback(this, selMarks, selState, block);
bool canRepeat = callback(this, selMarks, state, block);
if (canRepeat && staticCommands) {
MakeSelection(selIndex, selState, selCallback);
} else {
selState = null;
selCallback = null;
MakeSelection(selIndex, state, callback);
}
}
}

View File

@ -257,7 +257,6 @@ namespace MCGalaxy {
bool begin = false;
try {
p = new Player(listen.EndAccept(result));
//new Thread(p.Start).Start();
listen.BeginAccept(Accept, null);
begin = true;
} catch (SocketException) {