diff options
author | Thunderblade73 <85900443+Thunderblade73@users.noreply.github.com> | 2024-04-30 21:35:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-30 21:35:11 +0200 |
commit | d60b2a7322b68407744707174d78402e43bff394 (patch) | |
tree | d72b13aae995d1bec3b9e137ca76d1a3944cdea4 | |
parent | 0cb62c8df974b408577ea99e37cea801ace72175 (diff) | |
download | skyhanni-d60b2a7322b68407744707174d78402e43bff394.tar.gz skyhanni-d60b2a7322b68407744707174d78402e43bff394.tar.bz2 skyhanni-d60b2a7322b68407744707174d78402e43bff394.zip |
Fix: Mob Detection Broke with Skytils (#1605)
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/mob/MobDetection.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/mob/MobDetection.kt b/src/main/java/at/hannibal2/skyhanni/data/mob/MobDetection.kt index 80eee1f2d..6497fddfb 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/mob/MobDetection.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/mob/MobDetection.kt @@ -27,9 +27,9 @@ import net.minecraft.entity.monster.EntityCreeper import net.minecraft.entity.passive.EntityBat import net.minecraft.entity.passive.EntityVillager import net.minecraft.entity.player.EntityPlayer +import net.minecraft.network.play.server.S01PacketJoinGame import net.minecraft.network.play.server.S0CPacketSpawnPlayer import net.minecraft.network.play.server.S0FPacketSpawnMob -import net.minecraft.network.play.server.S37PacketStatistics import net.minecraftforge.fml.common.eventhandler.SubscribeEvent import net.minecraftforge.fml.common.network.FMLNetworkEvent import java.util.concurrent.ConcurrentLinkedQueue @@ -314,7 +314,7 @@ class MobDetection { is S0FPacketSpawnMob -> addEntityUpdate(packet.entityID) is S0CPacketSpawnPlayer -> addEntityUpdate(packet.entityID) // is S0EPacketSpawnObject -> addEntityUpdate(packet.entityID) - is S37PacketStatistics -> // one of the first packets that is sent when switching servers inside the BungeeCord Network (please some prove this, I just found it out via Testing) + is S01PacketJoinGame -> // one of the first packets that is sent when switching servers inside the BungeeCord Network (please some prove this, I just found it out via Testing) { shouldClear.set(true) allEntitiesViaPacketId.clear() |