Non [a-z0-9/._-] character in path of location: minecraft:STONE
August1251 opened this issue · 0 comments
At first I thought that this problem was my problem, but now I’m not sure that I did anything wrong and that’s why I’m here, I hope I’m in the right place.
I've been experimenting with this and trying to solve this problem on my own, but this is the first time I need help.
I want to create a falling block when executing the "setfallingblock" command. The command worked, but the falling block does not appear and gives an error.
PacketContainer packetContainer = new PacketContainer(PacketType.Play.Server.SPAWN_ENTITY);
packetContainer.getIntegers()
.write(0, 22);
packetContainer.getUUIDs()
.write(0, UUID.randomUUID());
packetContainer.getEntityTypeModifier()
.write(0, EntityType.FALLING_BLOCK);
packetContainer.getDoubles()
.write(0, location.getX())
.write(1, location.getY())
.write(2, location.getZ());
protocolManager.sendServerPacket(player, packetContainer);
Version: ProtocolLib 5.1.0, Spigot API 1.19.4, Java 17.0.3.7
I will be grateful to everyone who will help me and who will not. I don’t need ready-made code from you, I just need to at least understand the cause of this error and whether I can somehow fix it. Thank you for your attention.