Skip to content

Commit

Permalink
fix not force sending frequency module status (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
Glease authored Dec 5, 2024
1 parent 6d6329e commit 6d29228
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public static void checkGear(EntityPlayerMP player, GCPlayerStats GCPlayer, bool
TileEntityTelemetry.frequencyModulePlayer(GCPlayer.lastFrequencyModuleInSlot, null);
} else if (GCPlayer.frequencyModuleInSlot.getItem() == GCItems.basicItem
&& GCPlayer.frequencyModuleInSlot.getItemDamage() == 19
&& GCPlayer.lastFrequencyModuleInSlot == null) {
&& (GCPlayer.lastFrequencyModuleInSlot == null || forceSend)) {
GCPlayerHandler.sendGearUpdatePacket(player, EnumModelPacket.ADD_FREQUENCY_MODULE);
TileEntityTelemetry.frequencyModulePlayer(GCPlayer.frequencyModuleInSlot, player);
}
Expand Down

0 comments on commit 6d29228

Please sign in to comment.