Fixes incorrect error message path.

There were 2 different error message paths to the same text. 

Reported in Discord.
This commit is contained in:
BONNe 2022-01-28 12:28:39 +02:00 committed by GitHub
parent 486e95c316
commit 7caa688aa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}