-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Resolve issues with null repairs * Add debug for sign text * Add config option to disable save double click * Add /repairreport command * Add repair cancel command * Add /repairinventory * Fix #34 * Add the /repairbar command Command toggles visibility of repair progress boss bars
- Loading branch information
1 parent
6db16c6
commit 30f4a76
Showing
18 changed files
with
652 additions
and
87 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
31 changes: 31 additions & 0 deletions
31
src/main/java/net/countercraft/movecraft/repair/bar/config/PlayerConfig.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,31 @@ | ||
package net.countercraft.movecraft.repair.bar.config; | ||
|
||
import org.jetbrains.annotations.Nullable; | ||
|
||
import java.util.UUID; | ||
|
||
public class PlayerConfig { | ||
@Nullable | ||
private UUID owner; | ||
private boolean barSetting = true; | ||
|
||
public PlayerConfig() { | ||
} | ||
|
||
public PlayerConfig(UUID owner) { | ||
this.owner = owner; | ||
} | ||
|
||
@Nullable | ||
public UUID getOwner() { | ||
return owner; | ||
} | ||
|
||
public boolean getBarSetting() { | ||
return barSetting; | ||
} | ||
|
||
public void toggleBarSetting() { | ||
barSetting = !barSetting; | ||
} | ||
} |
Oops, something went wrong.