mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 00:38:21 +00:00
Fix argument order of tile item message ctor call
Rearrange the arguments passed to the SendTileItemUpdateMessage constructor when recording a ground item RegionUpdate. Fixes #316.
This commit is contained in:
@@ -27,7 +27,7 @@ public final class ItemUpdateOperation extends UpdateOperation<GroundItem> {
|
||||
|
||||
@Override
|
||||
protected RegionUpdateMessage add(int offset) {
|
||||
return new SendPublicTileItemMessage(entity.getItem(), offset, entity.getOwnerIndex());
|
||||
return new SendPublicTileItemMessage(entity.getItem(), entity.getOwnerIndex(), offset);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user