Updated to 1.8.7, no code changes?

This commit is contained in:
NavidK0 2015-06-13 09:24:10 -04:00
parent 545fa08e55
commit a3c8029223
2 changed files with 3 additions and 1 deletions

View File

@ -5,7 +5,7 @@ plugins {
println 'Compiling LibsDisguises via Gradle ver. ' + gradle.gradleVersion
sourceCompatibility = '1.7'
ext.spigotVersion = '1.8.6-R0.1-SNAPSHOT'
ext.spigotVersion = '1.8.7-R0.1-SNAPSHOT'
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'

View File

@ -49,6 +49,7 @@ import com.comphenix.protocol.events.PacketContainer;
import com.comphenix.protocol.events.PacketEvent;
import com.comphenix.protocol.events.PacketListener;
import com.comphenix.protocol.reflect.StructureModifier;
import com.comphenix.protocol.utility.MinecraftReflection;
import com.comphenix.protocol.wrappers.WrappedAttribute;
import com.comphenix.protocol.wrappers.WrappedAttribute.Builder;
import com.comphenix.protocol.wrappers.WrappedDataWatcher;
@ -1270,6 +1271,7 @@ public class PacketsManager {
public static PacketContainer[][] transformPacket(PacketContainer sentPacket, Player observer, Entity entity) {
PacketContainer[] packets = null;
PacketContainer[] delayedPackets = new PacketContainer[0];
MinecraftReflection.getAttributeSnapshotClass();
try {
Disguise disguise = DisguiseAPI.getDisguise(observer, entity);
// If disguised.