Skip to content

Commit 65ac2f3

Browse files
Don't throw metadata away in 1.8->1.7
Closes #512
1 parent b08bb90 commit 65ac2f3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

common/src/main/java/com/viaversion/viarewind/protocol/protocol1_7_6_10to1_8/metadata/MetadataRewriter1_7_6_10To1_8.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,12 @@ public void handleMetadata(MetaHandlerEvent event, Metadata metadata) throws Exc
411411
case Slot:
412412
metadata.setValue(protocol.getItemRewriter().handleItemToClient(event.user(), (Item) value));
413413
break;
414+
case Float:
415+
case String:
416+
case Short:
417+
case Position:
418+
metadata.setValue(value);
419+
break;
414420
default:
415421
event.cancel();
416422
break;

0 commit comments

Comments
 (0)