register a valid skill for AprilCommand (Fixes #4147)

This commit is contained in:
Shane Freeder 2020-04-01 14:41:27 +01:00
parent 9c342f24cd
commit 3c272a3e31
No known key found for this signature in database
GPG Key ID: A3F61EA5A085289C
2 changed files with 4 additions and 3 deletions

View File

@ -381,7 +381,7 @@ public final class HolidayManager {
if(!Config.getInstance().isAprilFoolsAllowed())
return;
PluginCommand command = mcMMO.p.getCommand("mcfools");
PluginCommand command = mcMMO.p.getCommand("crafting");
command.setExecutor(new AprilCommand());
}
}

View File

@ -167,8 +167,9 @@ commands:
aliases: [mcsb]
description: Manage your mcMMO Scoreboard
permission: mcmmo.commands.mcscoreboard
mcfools:
aliases: [macho, jumping, throwing, wrecking, crafting, walking, swimming, falling, climbing, flying, diving, piggy]
#mcfools:
crafting:
aliases: [macho, jumping, throwing, wrecking, walking, swimming, falling, climbing, flying, diving, piggy]
description: Deploy jokes
permission: mcmmo.commands.mcfools
mcmmoreloadlocale: