Updated for 1.8.8.
Compiled against ProtocolLib 3.6.5. Fixed a nullpointerexception In Disguise when the disguise would rarely despawn causing the entity to be invalid.
This commit is contained in:
parent
bdb436711f
commit
037da7e980
@ -11,9 +11,9 @@ plugins {
|
||||
println 'Compiling LibsDisguises via Gradle ver. ' + gradle.gradleVersion
|
||||
|
||||
sourceCompatibility = '1.7'
|
||||
ext.spigotVersion = '1.8.7-R0.1-SNAPSHOT'
|
||||
ext.spigotVersion = '1.8.8-R0.1-SNAPSHOT'
|
||||
|
||||
ext.disguisesVersion = '8.6.2'
|
||||
ext.disguisesVersion = '8.6.3'
|
||||
|
||||
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
|
||||
|
||||
@ -100,7 +100,7 @@ ant.get src: 'https://www.dropbox.com/s/1ofgubrldjwamnk/spigot.jar?dl=1', dest:
|
||||
|
||||
dependencies {
|
||||
compile 'org.bukkit:bukkit:' + project.ext.spigotVersion
|
||||
compile 'com.comphenix.protocol:ProtocolLib:3.6.4-SNAPSHOT'
|
||||
compile 'com.comphenix.protocol:ProtocolLib:3.6.5-SNAPSHOT'
|
||||
compile files(
|
||||
'libs/spigot.jar'
|
||||
)
|
||||
|
@ -397,8 +397,10 @@ public abstract class Disguise {
|
||||
|
||||
/**
|
||||
* Internal use
|
||||
* @return
|
||||
*/
|
||||
public boolean isRemoveDisguiseOnDeath() {
|
||||
if (getEntity() == null) return true;
|
||||
return getEntity() instanceof Player ?
|
||||
|
||||
(!((Player) getEntity()).isOnline() ? !isKeepDisguiseOnPlayerLogout() : !isKeepDisguiseOnPlayerDeath())
|
||||
|
@ -1,6 +1,6 @@
|
||||
name: LibsDisguises
|
||||
main: me.libraryaddict.disguise.LibsDisguises
|
||||
version: 8.6.2
|
||||
version: 8.6.3
|
||||
author: libraryaddict
|
||||
authors: [Byteflux, Navid K.]
|
||||
depend: [ProtocolLib]
|
||||
|
Loading…
Reference in New Issue
Block a user