plots.auto.mega fix for #3815 (#3816)

Co-authored-by: Resi <unconfigured@null.spigotmc.org>
This commit is contained in:
resi23 2022-09-28 10:53:44 +02:00 committed by GitHub
parent 8b8fd6aab7
commit 3446b913cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -251,6 +251,7 @@ public class Auto extends SubCommand {
TranslatableCaption.of("permission.no_permission"), TranslatableCaption.of("permission.no_permission"),
Template.of("node", String.valueOf(Permission.PERMISSION_AUTO_MEGA)) Template.of("node", String.valueOf(Permission.PERMISSION_AUTO_MEGA))
); );
return false;
} }
if (!force && sizeX * sizeZ > Settings.Claim.MAX_AUTO_AREA) { if (!force && sizeX * sizeZ > Settings.Claim.MAX_AUTO_AREA) {
player.sendMessage( player.sendMessage(