Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
bb3929c563
Commit
97baf79dcb
@ -71,6 +71,9 @@ public class FightSchematic extends StateDependent {
|
|||||||
schematic = schem.getId();
|
schematic = schem.getId();
|
||||||
try {
|
try {
|
||||||
clipboard = schem.load();
|
clipboard = schem.load();
|
||||||
|
|
||||||
|
if(schem.replaceColor())
|
||||||
|
replaceTeamColor(clipboard);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
team.broadcastSystem("SCHEMATIC_UNLOADABLE");
|
team.broadcastSystem("SCHEMATIC_UNLOADABLE");
|
||||||
Bukkit.getLogger().log(Level.SEVERE, e, () -> "Couldn't load Schematic " + schem.getName());
|
Bukkit.getLogger().log(Level.SEVERE, e, () -> "Couldn't load Schematic " + schem.getName());
|
||||||
@ -127,8 +130,6 @@ public class FightSchematic extends StateDependent {
|
|||||||
private void paste(){
|
private void paste(){
|
||||||
FreezeWorld freezer = new FreezeWorld();
|
FreezeWorld freezer = new FreezeWorld();
|
||||||
|
|
||||||
replaceTeamColor(clipboard);
|
|
||||||
|
|
||||||
Vector dims = WorldeditWrapper.impl.getDimensions(clipboard);
|
Vector dims = WorldeditWrapper.impl.getDimensions(clipboard);
|
||||||
WorldeditWrapper.impl.pasteClipboard(
|
WorldeditWrapper.impl.pasteClipboard(
|
||||||
clipboard,
|
clipboard,
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren