Sharpjaws / SharpSK

An addon for Skript that adds lots of features and other features from your favourite plugins to skript. Supports 1.8 up to 1.12
https://forums.skunity.com/resources/72
MIT License
8 stars 12 forks source link

Async World edit Paste Schematic expression no longer works correctly. #45

Open DankPrison opened 6 years ago

DankPrison commented 6 years ago

[sharpsk] (fawe|fastasyncworldedit) paste schematic %string% at %location% [exclude air %-boolean%]

if i use "sharpsk fawe paste schematic "1" at {home::%{_p}%} exclude air true" in a function or normal it parses correctly then when you go to run code it throws out this error Can you please update FAWE Hook to support latest version?

[15:42:38] [Craft Scheduler Thread - 116/WARN]: [FastAsyncWorldEdit] Plugin FastAsyncWorldEdit v18.10.25-626169a-1227-21.5.14 generated an exception while executing task 13103
java.lang.NullPointerException: null
    at me.sharpjaws.sharpSK.hooks.FAWE.EffFAWEPasteSchematic$1.run(EffFAWEPasteSchematic.java:71) ~[?:?]
    at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:63) ~[patched_1.12.2.jar:git-Paper-1562]
    at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) ~[patched_1.12.2.jar:git-Paper-1562]
    at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.12.2.jar:git-Paper-1562]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_181]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_181]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]