9
0
mirror of https://github.com/HibiscusMC/HibiscusCommons.git synced 2025-12-19 15:09:26 +00:00

fix: not setting mountId for mount-packet

This commit is contained in:
Boy0000
2025-05-22 22:35:58 +02:00
parent 026c5b8ce6
commit 5d66e97101

View File

@@ -255,6 +255,7 @@ public class NMSPackets extends NMSCommon implements me.lojosho.hibiscuscommons.
passenger.setId(id);
return passenger;
}).toList();
fakeNmsEntity.setId(mountId);
fakeNmsEntity.passengers = ImmutableList.copyOf(passengers);
ClientboundSetPassengersPacket packet = new ClientboundSetPassengersPacket(fakeNmsEntity);
fakeNmsEntity.passengers = ImmutableList.of();