mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-07 16:49:12 +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
|
@Override
|
||||||
protected RegionUpdateMessage add(int offset) {
|
protected RegionUpdateMessage add(int offset) {
|
||||||
return new SendPublicTileItemMessage(entity.getItem(), offset, entity.getOwnerIndex());
|
return new SendPublicTileItemMessage(entity.getItem(), entity.getOwnerIndex(), offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user