mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-11-04 08:59:47 +01:00
Updated to 1.8.7, no code changes?
This commit is contained in:
parent
545fa08e55
commit
a3c8029223
@ -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'
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user