BuildCraft 7.1.8
This commit is contained in:
parent
b318943e8f
commit
73c5ae6657
7 changed files with 20 additions and 3 deletions
|
@ -22,7 +22,7 @@ apply plugin: 'forge' // adds the forge dependency
|
|||
apply plugin: 'maven' // for uploading to a maven repo
|
||||
apply plugin: 'checkstyle'
|
||||
|
||||
version = "7.1.7"
|
||||
version = "7.1.8"
|
||||
group= "com.mod-buildcraft"
|
||||
archivesBaseName = "buildcraft" // the name that all artifacts will use as a base. artifacts names follow this pattern: [baseName]-[appendix]-[version]-[classifier].[extension]
|
||||
|
||||
|
|
|
@ -570,3 +570,11 @@ command.buildcraft.buildcraft.version.format=Format: /%s
|
|||
command.buildcraft.buildcraft.changelog.desc=- %s : Changelog
|
||||
command.buildcraft.buildcraft.changelog.help=Displays the latest BC changelog.
|
||||
command.buildcraft.buildcraft.changelog.format=Format: /%s
|
||||
|
||||
command.buildcraft.buildcraft.op.desc=- %s : Op FakePlayer
|
||||
command.buildcraft.buildcraft.op.help=Gives OP rights to the BC FakePlayer (acts in the name of quarries, robots, etc.)
|
||||
command.buildcraft.buildcraft.op.format=Format: /%s
|
||||
|
||||
command.buildcraft.buildcraft.deop.desc=- %s : Deop FakePlayer
|
||||
command.buildcraft.buildcraft.deop.help=Gives OP rights to the BC FakePlayer (acts in the name of quarries, robots, etc.)
|
||||
command.buildcraft.buildcraft.deop.format=Format: /%s
|
Binary file not shown.
Before Width: | Height: | Size: 263 B After Width: | Height: | Size: 263 B |
|
@ -1,5 +1,6 @@
|
|||
Improvements:
|
||||
|
||||
* Improvements to /buildcraft command (asie)
|
||||
* New robot board texture (asie)
|
||||
|
||||
Bugs fixed:
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
1.6.4:BuildCraft:4.2.2
|
||||
1.7.2:BuildCraft:6.0.16
|
||||
1.7.10:BuildCraft:7.1.7
|
||||
1.7.10:BuildCraft:7.1.8
|
||||
|
|
|
@ -111,6 +111,14 @@ public final class CommandHelpers {
|
|||
public static boolean processStandardCommands(ICommandSender sender, IModCommand command, String[] args) {
|
||||
if (args.length >= 1) {
|
||||
if ("help".equals(args[0])) {
|
||||
if (args.length >= 2) {
|
||||
for (SubCommand child : command.getChildren()) {
|
||||
if (matches(args[1], child)) {
|
||||
child.printHelp(sender);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
command.printHelp(sender);
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ import net.minecraft.command.ICommandSender;
|
|||
public abstract class SubCommand implements IModCommand {
|
||||
public enum PermLevel {
|
||||
EVERYONE(0), ADMIN(2), SERVER_ADMIN(3);
|
||||
int permLevel;
|
||||
final int permLevel;
|
||||
|
||||
PermLevel(int permLevel) {
|
||||
this.permLevel = permLevel;
|
||||
|
|
Loading…
Reference in a new issue