Skip to content

Commit

Permalink
1.0.1
Browse files Browse the repository at this point in the history
Fixed config bug
  • Loading branch information
stumper66 committed Jan 3, 2021
1 parent 2df775a commit cefa7ec
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 84 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
/bin/
/target/
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>FindPlayer</groupId>
<artifactId>FindPlayer</artifactId>
<version>1.0</version>
<version>1.0.1</version>
<build>
<sourceDirectory>src</sourceDirectory>
<plugins>
Expand Down
9 changes: 5 additions & 4 deletions src/findPlayer/FindPlayer.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public boolean onCommand(CommandSender sender, Command cmd, String label, String
if(args.length == 1) {
if (args[0].equalsIgnoreCase("reload")) {
if (!sender.hasPermission("FindPlayer.reload")) {
sender.sendMessage(ChatColor.RED + "You don't have permisisons for this command");
sender.sendMessage(ChatColor.RED + "You don't have permissions for this command");
return true;
}

Expand All @@ -74,7 +74,7 @@ public boolean onCommand(CommandSender sender, Command cmd, String label, String
}
else if (args[0].equalsIgnoreCase("purge")) {
if (!sender.hasPermission("FindPlayer.purge")) {
sender.sendMessage(ChatColor.RED + "You don't have permisisons for this command");
sender.sendMessage(ChatColor.RED + "You don't have permissions for this command");
return true;
}
playerCache.PurgeData();
Expand Down Expand Up @@ -253,9 +253,10 @@ private String formulateMessage(String str, PlayerStoreInfo psi, Location l, Boo

if (doCheckWG) {
this.WG_RegionPostformedString = formulateMessage(this.WG_RegionPreformedString, psi, l, false);
v.put("{RegionMessage}", this.WG_RegionPostformedString);
v.put("{RegionMessage}", this.WG_RegionPostformedString);
}


if (!this.hasWorldGuard) v.put("{RegionMessage}", "");
v.put("{WorldGuardRegion}", WG_Region);

String formedStr = str;
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: FindPlayer
main: findPlayer.FindPlayer
version: 1.0
version: 1.0.1
authors:
- PenalBuffalo
api-version: 1.13
Expand Down
37 changes: 0 additions & 37 deletions target/classes/conifg.yml

This file was deleted.

37 changes: 0 additions & 37 deletions target/classes/main/resources/conifg.yml

This file was deleted.

2 changes: 1 addition & 1 deletion target/classes/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: FindPlayer
main: findPlayer.FindPlayer
version: 1.0
version: 1.0.1
authors:
- PenalBuffalo
api-version: 1.13
Expand Down
2 changes: 1 addition & 1 deletion target/classes/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: FindPlayer
main: findPlayer.FindPlayer
version: 1.0
version: 1.0.1
authors:
- PenalBuffalo
api-version: 1.13
Expand Down
4 changes: 2 additions & 2 deletions target/maven-archiver/pom.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#Generated by Maven
#Wed Dec 30 18:27:49 CST 2020
#Sun Jan 03 15:01:39 CST 2021
groupId=FindPlayer
artifactId=FindPlayer
version=1.0
version=1.0.1

0 comments on commit cefa7ec

Please sign in to comment.