WorldEdit

WorldEdit

43M Downloads

PEX v1.20.4

LadyCailinBot opened this issue ยท 1 comments

commented

WORLDEDIT-3347 - Reported by Nikolaii99

http://pastebin.com/Gz5kTp6p
http://pastebin.com/E4BnvHyx
http://pastebin.com/3UTuFv1b
http://pastebin.com/zTRRKne6
http://pastebin.com/6J6gA1Ec

Eventho it says WorldGuard, the ultimate source of the error is WorldEdit:

Caused by: java.lang.NoSuchMethodError: 
ru.tehkode.permissions.PermissionManager.has(Ljava/util/UUID;Ljava/lang/String;Ljava/lang/String;)Z
	at com.sk89q.wepif.PermissionsExResolver.hasPermission(PermissionsExResolver.java:68)

This should be an easy fix by calling


ru.tehkode.permissions.PermissionsManager.has(Player p, String perm, String world);
// from
com.sk89q.wepif.PermissionsExResolver.hasPermissions();

It would make WorldEdit & WorldGuard backwards compatible because PEX's has() method (which accepts an org.bukkit.entity.Player object) exists on newer & older versions. The newer one has an implementation that forwards the call using player.getUniqueId() while the older one has an implementation that forwards the call using player.getName().

commented

Comment by wizjany

i don't believe we have any plans to support 2 year old versions of pex which lack uuid support.