This repository has been archived by the owner on Apr 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed Bug where any Object of same ID will trigger Added ability for wands to hold coordinates for dual use. Selected Coordinates are now displayed on Wands Lore Multiple Wands can be used at one time Shortened Position Location Messages Added Undo Command. Stores 5 commands at a time Fixed up code and moved every function to api needed for organization
- Loading branch information
1 parent
5a3c439
commit 39b4786
Showing
22 changed files
with
160 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
src/main/java/com/azura4k/PowerWorld/commands/UndoCmd.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package com.azura4k.PowerWorld.commands; | ||
|
||
import cn.nukkit.Player; | ||
import cn.nukkit.command.Command; | ||
import cn.nukkit.command.CommandSender; | ||
import com.azura4k.PowerWorld.PowerWorldCommon; | ||
|
||
public class UndoCmd extends Command { | ||
PowerWorldCommon PC = new PowerWorldCommon(); | ||
public UndoCmd(){ | ||
super("/undo"); | ||
} | ||
@Override | ||
public boolean execute(CommandSender commandSender, String s, String[] args) { | ||
Player player = commandSender.getServer().getPlayerExact(commandSender.getName()); | ||
if (args.length == 0 || args[0] == null || args[0] == ""){ | ||
//Assume latest Undo | ||
return PC.RestoreUndoCmd(player, 0); | ||
} | ||
int Sequence = Integer.parseInt(args[0]); | ||
return PC.RestoreUndoCmd(player, Sequence); | ||
} | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+3.89 KB
(520%)
target/classes/com/azura4k/PowerWorld/PowerWorldCommon.class
Binary file not shown.
Binary file modified
BIN
+221 Bytes
(110%)
target/classes/com/azura4k/PowerWorld/commands/ReplaceBlocksCmd.class
Binary file not shown.
Binary file modified
BIN
+221 Bytes
(110%)
target/classes/com/azura4k/PowerWorld/commands/SetBlocksCmd.class
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+214 Bytes
(110%)
target/classes/com/azura4k/PowerWorld/commands/WandCmd.class
Binary file not shown.
Binary file modified
BIN
-18 Bytes
(99%)
target/classes/com/azura4k/PowerWorld/listeners/WandListener.class
Binary file not shown.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#Generated by Maven | ||
#Wed Nov 03 22:46:35 EDT 2021 | ||
#Fri Nov 05 20:24:33 EDT 2021 | ||
groupId=com.azura4k | ||
artifactId=PowerWorld | ||
version=1.2 | ||
version=1.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters