mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-31 12:22:36 +01:00
Merge branch 'patch-class-cast-exception' into 'dev'
fixed classCastException in UpdateSTackHeightComposer See merge request morningstar/Arcturus-Community!70
This commit is contained in:
commit
951b4163b6
@ -29,7 +29,7 @@ public class UpdateStackHeightComposer extends MessageComposer {
|
|||||||
this.response.init(Outgoing.UpdateStackHeightComposer);
|
this.response.init(Outgoing.UpdateStackHeightComposer);
|
||||||
if (this.updateTiles != null) {
|
if (this.updateTiles != null) {
|
||||||
if(this.updateTiles.size() > 4) {
|
if(this.updateTiles.size() > 4) {
|
||||||
RoomTile[] tiles = (RoomTile[])this.updateTiles.toArray();
|
RoomTile[] tiles = this.updateTiles.toArray(new RoomTile[updateTiles.size()]);
|
||||||
this.response.appendByte(4);
|
this.response.appendByte(4);
|
||||||
for(int i = 0; i < 4; i++) {
|
for(int i = 0; i < 4; i++) {
|
||||||
RoomTile t = tiles[i];
|
RoomTile t = tiles[i];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user