Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ private void openEditor(@Nonnull Player p, @Nonnull Block projector) {
// Fixes #3445 - Make sure the projector is not broken
if (!BlockStorage.check(projector, getId())) {
// Hologram projector no longer exists.
// TODO: Add a chat message informing the player that their message was ignored.
Slimefun.getLocalization().sendMessage(pl, "machines.HOLOGRAM_PROJECTOR.ignored", true);
return;
}

Expand Down
1 change: 1 addition & 0 deletions src/main/resources/languages/en/messages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ machines:
HOLOGRAM_PROJECTOR:
enter-text: '&7Please enter your desired Hologram Text into your Chat. &r(Color Codes are supported!)'
inventory-title: 'Hologram Editor'
ignored: '&cYour input was ignored because the Hologram Projector no longer exists.'

ELEVATOR:
no-destinations: '&4No destinations found'
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/languages/zh-CN/messages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ machines:
HOLOGRAM_PROJECTOR:
enter-text: '&7请写下想显示在全息文本上的话. &r(支持颜色代码)'
inventory-title: '全息图像编辑器'
ignored: '&c输入已被忽略,因为全息投影仪已不存在.'
ELEVATOR:
no-destinations: '&4找不到上下楼'
pick-a-floor: '&3- 选择一个楼层 -'
Expand Down
Loading