Fix build

This commit is contained in:
libraryaddict 2020-05-07 22:36:40 +12:00
parent 5febe8f66e
commit 801c3c7239
No known key found for this signature in database
GPG Key ID: 052E4FBCD257AEA4

View File

@ -51,7 +51,8 @@ public class PacketHandlerMovement implements IPacketHandler {
ArrayList<PacketContainer> toAdd = new ArrayList<>();
for (PacketContainer packet : packets.getPackets()) {
for (int standId : disguise.getArmorstandIds()) {
for (int i = 0; i < len; i++) {
int standId = disguise.getArmorstandIds()[i];
PacketContainer packet2 = packet.shallowClone();
packet2.getIntegers().write(0, standId);