Should probably call super on this too

This commit is contained in:
Camotoy 2023-01-01 14:35:16 -05:00
parent 1b4be6135a
commit b93b35b432
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F

View file

@ -46,6 +46,7 @@ public class CommandBlockMinecartEntity extends DefaultBlockMinecartEntity {
@Override
protected void initializeMetadata() {
super.initializeMetadata();
// Required, or else the GUI will not open
dirtyMetadata.put(EntityData.CONTAINER_TYPE, (byte) 16);
dirtyMetadata.put(EntityData.CONTAINER_BASE_SIZE, 1);