mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-22 01:55:47 +01:00
Fix missed null item return value
This commit is contained in:
parent
b9474335e8
commit
4b44ecf6fa
@ -1201,7 +1201,7 @@ public final class BlockItemPacketRewriter1_20_5 extends ItemRewriter<Clientboun
|
||||
|
||||
final int itemId = StructuredDataConverter.removeItemBackupTag(item, unmappedItemId(id));
|
||||
if (itemId == -1) {
|
||||
return null;
|
||||
return StructuredItem.empty();
|
||||
}
|
||||
|
||||
final byte count = item.getByte("Count", (byte) 1);
|
||||
|
Loading…
Reference in New Issue
Block a user