mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-23 12:42:22 -04:00
Fix /copy @, fixes #452. (Thanks goodlyay)
This commit is contained in:
parent
09e10eb75b
commit
d2008f06ba
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user