Send op permission level 4 in 1.8->1.9 (#4328)

This commit is contained in:
EnZaXD 2024-12-23 14:41:09 +01:00 committed by GitHub
parent 82373acf44
commit 73286fd946
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -55,7 +55,7 @@ public class CommandBlockProvider implements Provider {
EntityTracker1_9 tracker = user.getEntityTracker(Protocol1_8To1_9.class); EntityTracker1_9 tracker = user.getEntityTracker(Protocol1_8To1_9.class);
wrapper.write(Types.INT, tracker.getProvidedEntityId()); // Entity ID wrapper.write(Types.INT, tracker.getProvidedEntityId()); // Entity ID
wrapper.write(Types.BYTE, (byte) 26); // Hardcoded op permission level wrapper.write(Types.BYTE, (byte) 28); // Hardcoded op permission level 4
wrapper.scheduleSend(Protocol1_8To1_9.class); wrapper.scheduleSend(Protocol1_8To1_9.class);