Skip to content

Commit

Permalink
blame sam, hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Raycoms committed Jul 27, 2024
1 parent 6695253 commit 4a45734
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ protected ForcePickupMessage(final FriendlyByteBuf buf, final PlayMessageType<?>
@Override
protected void onExecute(final PlayPayloadContext ctxIn, final ServerPlayer player, final IColony colony, final IBuilding building)
{
MessageUtils.format(COM_MINECOLONIES_COREMOD_ENTITY_DELIVERYMAN_FORCEPICKUP).sendTo(ctxIn.getSender());
if (building.createPickupRequest(getPlayerActionPriority(true)))
{
MessageUtils.format(COM_MINECOLONIES_COREMOD_ENTITY_DELIVERYMAN_FORCEPICKUP).sendTo(ctxIn.getSender());
building.markDirty();
}
else
Expand Down

0 comments on commit 4a45734

Please # to comment.