mirror of
https://github.com/Minestom/Minestom.git
synced 2024-09-29 23:17:59 +02:00
Fix game event tags missing.
This commit is contained in:
parent
b8bd7f3d02
commit
049592d1c2
@ -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
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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"));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user