mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-06 20:56:41 +00:00
@ -72,6 +72,7 @@ public class FastSchematicWriter implements ClipboardWriter {
|
||||
|
||||
@Override
|
||||
public void write(Clipboard clipboard) throws IOException {
|
||||
clipboard.flush();
|
||||
// For now always write the latest version. Maybe provide support for earlier if more appear.
|
||||
write2(clipboard);
|
||||
}
|
||||
|
@ -153,6 +153,7 @@ public class MinecraftStructure implements ClipboardReader, ClipboardWriter {
|
||||
|
||||
@Override
|
||||
public void write(Clipboard clipboard) throws IOException {
|
||||
clipboard.flush();
|
||||
write(clipboard, "FAWE");
|
||||
}
|
||||
|
||||
|
@ -31,6 +31,7 @@ public class PNGWriter implements ClipboardWriter {
|
||||
|
||||
@Override
|
||||
public void write(Clipboard clipboard) throws IOException {
|
||||
clipboard.flush();
|
||||
Region region = clipboard.getRegion();
|
||||
int width = region.getWidth();
|
||||
int height = region.getHeight();
|
||||
|
Reference in New Issue
Block a user