Prism

Prism

91.2k Downloads

[BUG]

vacla opened this issue ยท 2 comments

commented

Describe the bug
Replace the placeholder with blockname, currently it uses the wrong placeholder.

To Reproduce
Steps to reproduce the behavior:
Use the prism inspector

Expected behavior
would say a blockname

Server (please complete the following information):
prism github, master branch

Additional context

Prism.messenger.sendMessage(player,
Prism.messenger.playerHeaderMsg(ReplaceableTextComponent.builder("inspector-wand-header")
.replace("<block>",blockname)
.replace("<x>",loc.getBlockX())
.replace("<y>",loc.getBlockY())
.replace("<z>",loc.getBlockY())
.build().colorIfAbsent(NamedTextColor.GOLD)));

inspector-wand-header="--- Inspecting <blockname> at <x> <y> <z> ---"

commented

Ah ok, noticed it with updating Watson, updating the "message formats" atm

commented

This is already fixed in #274
Just waiting for the merge.