mirror of
https://github.com/BentoBoxWorld/CaveBlock.git
synced 2024-11-22 11:35:11 +01:00
Fixes incorrect error message path.
There were 2 different error message paths to the same text. Reported in Discord.
This commit is contained in:
parent
486e95c316
commit
7caa688aa0
@ -53,7 +53,7 @@ public class CustomHeightLimitations implements Listener
|
||||
// Prevent to get over world height
|
||||
if (nextY >= this.worldHeight)
|
||||
{
|
||||
User.getInstance(player).sendMessage("caveblock.cave-limit-reached");
|
||||
User.getInstance(player).sendMessage("caveblock.general.errors.cave-limit-reached");
|
||||
event.setCancelled(true);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user