Solved "NoSuchMethodError", arising from WorldEdit#3
Conversation
|
If you want to test this, you can download this PR's build at my forked repository! |
|
I tried this on my main server and can confirm that it works great! |
|
Thanks. Will add it in shortly! |
|
Ty @akaregi. One concern is this does make the expansion compatible with newer versions of WG / WE but does this new method break backwards compatibility? If so I think we should use some abstraction and version checking to provide compatibility with older and current world guard versions. What you think? |
|
There's a repo we can use called a World guard wrapper if we need to. |
|
@extendedclip But I have no idea how to do this, so now I won't support backwards compatibilty(i.e. WE with old "Vector" function). Sorry. |
I've fixed an error discussing on issue #2 . This PR solves
NoSuchMethodErrorarising from WorldEdit, due to changing its implementation for Vector3.And I tested this in my local server. It seems work very well.
Below is a list for changing point by this PR:
1.2.0=>1.3.0Expansion-WorldGuard=>WorldGuard-ExpansionRegards,
akaregi