diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/values/MagicValues.java b/src/main/java/org/spacehq/mc/protocol/data/game/values/MagicValues.java index 2041575c..bad18422 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/values/MagicValues.java +++ b/src/main/java/org/spacehq/mc/protocol/data/game/values/MagicValues.java @@ -267,6 +267,11 @@ public class MagicValues { register(EntityStatus.GUARDIAN_SOUND, 21); register(EntityStatus.ENABLE_REDUCED_DEBUG, 22); register(EntityStatus.DISABLE_REDUCED_DEBUG, 23); + register(EntityStatus.OP_PERMISSION_LEVEL_0, 24); + register(EntityStatus.OP_PERMISSION_LEVEL_1, 25); + register(EntityStatus.OP_PERMISSION_LEVEL_2, 26); + register(EntityStatus.OP_PERMISSION_LEVEL_3, 27); + register(EntityStatus.OP_PERMISSION_LEVEL_4, 28); register(PositionElement.X, 0); register(PositionElement.Y, 1); diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/values/entity/EntityStatus.java b/src/main/java/org/spacehq/mc/protocol/data/game/values/entity/EntityStatus.java index 9a58f6cb..459bd8b9 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/values/entity/EntityStatus.java +++ b/src/main/java/org/spacehq/mc/protocol/data/game/values/entity/EntityStatus.java @@ -1,7 +1,6 @@ package org.spacehq.mc.protocol.data.game.values.entity; public enum EntityStatus { - HURT_OR_MINECART_SPAWNER_DELAY_RESET, LIVING_HURT, DEAD, @@ -23,6 +22,10 @@ public enum EntityStatus { EXPLOSION_PARTICLE, GUARDIAN_SOUND, ENABLE_REDUCED_DEBUG, - DISABLE_REDUCED_DEBUG; - + DISABLE_REDUCED_DEBUG, + OP_PERMISSION_LEVEL_0, + OP_PERMISSION_LEVEL_1, + OP_PERMISSION_LEVEL_2, + OP_PERMISSION_LEVEL_3, + OP_PERMISSION_LEVEL_4; }