mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-12 08:08:34 +00:00
Add tracing feature to EditSessions (Upstream 1301) (#1112)
Co-authored-by: Octavia Togami <octavia.togami@gmail.com> Co-authored-by: dordsor21 <dordsor21@gmail.com> Co-authored-by: NotMyFault <mc.cache@web.de>
This commit is contained in:
@ -129,7 +129,7 @@
|
||||
// URI uri = file.toURI();
|
||||
// ClipboardFormat format = ClipboardFormats.findByFile(file);
|
||||
// format.hold(player, uri, new FileInputStream(file));
|
||||
// player.print(TranslatableComponent.of("fawe.worldedit.schematic.schematic.loaded", filename));
|
||||
// player.print(Caption.of("fawe.worldedit.schematic.schematic.loaded", filename));
|
||||
// session.setVirtualWorld(null);
|
||||
// return;
|
||||
// }
|
||||
@ -157,7 +157,7 @@
|
||||
// session.setClipboard(null);
|
||||
// }
|
||||
// select.put(clicked, false);
|
||||
// player.print(TranslatableComponent.of("fawe.worldedit.clipboard.clipboard.cleared"))
|
||||
// player.print(Caption.of("fawe.worldedit.clipboard.clipboard.cleared"))
|
||||
// }
|
||||
// } else {
|
||||
// // Add it
|
||||
@ -165,7 +165,7 @@
|
||||
// MultiClipboardHolder multi = new MultiClipboardHolder(URI.create(""), new LazyClipboardHolder(uri, source, format, null));
|
||||
// session.addClipboard(multi);
|
||||
// select.put(clicked, true);
|
||||
// player.print(TranslatableComponent.of("fawe.worldedit.schematic.schematic.loaded", file.getName()));
|
||||
// player.print(Caption.of("fawe.worldedit.schematic.schematic.loaded", file.getName()));
|
||||
// }
|
||||
// }
|
||||
// // Resend relevant chunks
|
||||
@ -501,7 +501,7 @@
|
||||
// }
|
||||
//
|
||||
// @Override
|
||||
// public FawePlayer getPlayer() {
|
||||
// public FawePlayer getActor() {
|
||||
// return player;
|
||||
// }
|
||||
//
|
||||
@ -567,7 +567,7 @@
|
||||
// clear();
|
||||
// chunks.clear();
|
||||
// files.clear();
|
||||
// player.getPlayer().setPosition(origin, origin.getPitch(), origin.getYaw());
|
||||
// player.getActor().setPosition(origin, origin.getPitch(), origin.getYaw());
|
||||
// if (update) {
|
||||
// IQueueExtent packetQueue = SetQueue.IMP.getNewQueue(player.getWorld(), true, false);
|
||||
//
|
||||
|
Reference in New Issue
Block a user