SteamWar/FightSystem
Archiviert
13
1

Fixing flushQueue/flushSession discrepance

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2019-12-31 16:47:34 +01:00
Ursprung 93da83cec7
Commit 0797c44984
4 geänderte Dateien mit 3 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -47,6 +47,7 @@ class FightTeam_12 {
} catch (MaxChangedBlocksException ex) { } catch (MaxChangedBlocksException ex) {
//ignored //ignored
} }
e.flushQueue();
} }
static EditSession pasteSchematic(Schematic schematic, int pasteX, int pasteY, int pasteZ, boolean rotate) throws Schematic.WrongVersionException, IOException, NoClipboardException { static EditSession pasteSchematic(Schematic schematic, int pasteX, int pasteY, int pasteZ, boolean rotate) throws Schematic.WrongVersionException, IOException, NoClipboardException {

Datei anzeigen

@ -54,6 +54,7 @@ class FightTeam_14 {
} catch (MaxChangedBlocksException ex) { } catch (MaxChangedBlocksException ex) {
//ignored //ignored
} }
e.flushSession();
} }
static EditSession pasteSchematic(Schematic schematic, int pX, int pY, int pZ, boolean rotate) throws Schematic.WrongVersionException, IOException, NoClipboardException { static EditSession pasteSchematic(Schematic schematic, int pX, int pY, int pZ, boolean rotate) throws Schematic.WrongVersionException, IOException, NoClipboardException {

Datei anzeigen

@ -66,6 +66,7 @@ class FightTeam_8 {
} catch (MaxChangedBlocksException ex) { } catch (MaxChangedBlocksException ex) {
// ignore, will never occur // ignore, will never occur
} }
e.flushQueue();
} }
static EditSession pasteSchematic(Schematic schematic, int pasteX, int pasteY, int pasteZ, boolean rotate) throws Schematic.WrongVersionException, IOException, NoClipboardException { static EditSession pasteSchematic(Schematic schematic, int pasteX, int pasteY, int pasteZ, boolean rotate) throws Schematic.WrongVersionException, IOException, NoClipboardException {

Datei anzeigen

@ -296,8 +296,6 @@ public class FightTeam implements IFightTeam{
default: default:
FightTeam_12.replaceTeamColor(e, c, cornerX, cornerY, cornerZ); FightTeam_12.replaceTeamColor(e, c, cornerX, cornerY, cornerZ);
} }
e.flushQueue();
} }
public void pasteDummy(){ public void pasteDummy(){