SBPrime / AsyncWorldEdit-Premium

Async WorldEdit - Edit millions of blocks without lag! (Premium version)
Other
19 stars 4 forks source link

How to get the Clipboard of an Player? #205

Closed FREE2WIN2 closed 4 years ago

FREE2WIN2 commented 4 years ago

I want to save all schematics in an extra directory for my Schematic-Organizer. With normal worldedit, my code works, but wih AWE I don't get the player's clipboard. WorldEditPlugin worldeditPlugin = (WorldEditPlugin) Bukkit.getServer().getPluginManager().getPlugin("WorldEdit"); Clipboard clipboard = worldeditPlugin.getSession(p).getClipboard().getClipboard();

I have searched for hours for a simple documentation, but the API and other things dont helped me.

FREE2WIN2 commented 4 years ago

Okay, my plugin had a bug.. everything works perfectly:D