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
|
// Prevent to get over world height
|
||||||
if (nextY >= this.worldHeight)
|
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);
|
event.setCancelled(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue