130131132133134135136137138
data[i++] = (byte) x; data[i++] = (byte) by; for (int y = by; y <= ty; y++) { data[i++] = (byte) col; } events.add(new MapItemUpdateEvent(x, by, item.getData(), data)); } return events; }