Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Commit

Permalink
Meta Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Xenmai committed Nov 10, 2017
1 parent 7504cc3 commit e56973d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public void execute(CommandQueue queue, CommandEntry entry) {
EntityTag entityTag = EntityTag.getFor(queue.error, entry.getArgumentObject(queue, 0));
Living ent = (Living) entityTag.getInternal();
NumberTag amount = NumberTag.getFor(queue.error, entry.getArgumentObject(queue, 1));
Boolean set;
boolean set;
if (entry.namedArgs.containsKey("operation")) {
String operation = CoreUtilities.toLowerCase(entry.getNamedArgumentObject(queue, "operation").toString());
if (operation.equals("add")) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ public class StrikeCommand extends AbstractCommand {
// @Group World
// @Minimum 1
// @Maximum 1
// @Named ambient (BooleanTag) Sets whether the lightning will affect entities.
// @Named ambient (BooleanTag) Sets whether the lightning will be ambient.
// @Description
// Strikes lightning upon a location. Optionally specify whether it will affect entities
// or not. Damaging lightning will also charge creepers and turn pigs into pig zombies.
// Strikes lightning upon a location. Optionally specify whether it will be an ambient
// lightning strike. Ambient lightning strikes do not damage entities, charge creepers,
// nor turn pigs into pig zombies. Lightning strikes are non-ambient by default.
// @Example
// # This example strikes a damaging lightning upon the player.
// - strike <player.location> --ambient false
Expand Down

0 comments on commit e56973d

Please sign in to comment.