Fix game event tags missing.

This commit is contained in:
Articdive 2021-06-09 19:26:46 +02:00
parent b8bd7f3d02
commit 049592d1c2
No known key found for this signature in database
GPG Key ID: B069585F0F7D90DE
3 changed files with 4 additions and 2 deletions

View File

@ -299,7 +299,7 @@ public class Player extends LivingEntity implements CommandSender, Localizable,
callEvent(UpdateTagListEvent.class, event);
// TODO send tags
//this.playerConnection.sendPacket(tags);
this.playerConnection.sendPacket(tags);
}
// Tags end

View File

@ -100,7 +100,7 @@ public class Tag {
ITEMS("minecraft:item"),
FLUIDS("minecraft:fluid"),
ENTITY_TYPES("minecraft:entity_type"),
GAME_EVENT("minecraft:game_event");
GAME_EVENTS("minecraft:game_event");
private final String identifier;

View File

@ -231,6 +231,8 @@ public class TagManager {
addRequiredTag(Tag.BasicTypes.ITEMS, NamespaceID.from("wooden_stairs"));
addRequiredTag(Tag.BasicTypes.ITEMS, NamespaceID.from("wooden_trapdoors"));
addRequiredTag(Tag.BasicTypes.ITEMS, NamespaceID.from("wool"));
addRequiredTag(Tag.BasicTypes.GAME_EVENTS, NamespaceID.from("ignore_vibrations_sneaking"));
addRequiredTag(Tag.BasicTypes.GAME_EVENTS, NamespaceID.from("vibrations"));
}
/**