Working on updates.

This commit is contained in:
JitseB 2018-04-25 15:23:47 +02:00
parent eb150bf160
commit f4d907c1a5
2 changed files with 13 additions and 3 deletions

View File

@ -39,9 +39,6 @@ public class PacketListener {
@Override
public Object onPacketInAsync(Player player, Channel channel, Object packet) {
// Todo: Remove this debug message.
Bukkit.broadcastMessage("Class:" + packet.getClass().getName());
if (packetPlayInUseEntityClazz.isInstance(packet)) {
NPC npc = NPCManager.getAllNPCs().stream().filter(
check -> check.isActuallyShown(player) && check.getEntityId() == (int) entityIdField.get(packet))

View File

@ -0,0 +1,13 @@
/*
* Copyright (c) 2018 Jitse Boonstra
*/
package net.jitse.npclib.nms.v1_12_R1.packets;
/**
* @author Jitse Boonstra
*/
public class PacketPlayOutEntityTeleportWrapper {
}