Skip to content

Commit

Permalink
p auto fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim W committed Sep 20, 2020
1 parent 18bf071 commit 6a67730
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dependency-reduced-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>tim03we.futureplots</groupId>
<artifactId>FuturePlots</artifactId>
<version>1.4.2-SNAPSHOT</version>
<version>1.4.3-SNAPSHOT</version>
<build>
<plugins>
<plugin>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>tim03we.futureplots</groupId>
<artifactId>FuturePlots</artifactId>
<version>1.4.2-SNAPSHOT</version>
<version>1.4.3-SNAPSHOT</version>
<packaging>jar</packaging>

<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public void execute(CommandSender sender, String command, String[] args) {
return;
}
}
if(FuturePlots.getInstance().claimAvailable((Player) sender) == -1 || FuturePlots.getInstance().claimAvailable((Player) sender) >= max_plots) {
if(FuturePlots.getInstance().claimAvailable((Player) sender) == -1 || FuturePlots.provider.getPlots(sender.getName(), null).size() <= Settings.max_plots) {
if(FuturePlots.provider.getPlots(sender.getName(), null).size() != Settings.max_plots) {
if(Settings.economy) {
if(!new PlotPlayer((Player) sender).bypassEco()) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: FuturePlots
main: tim03we.futureplots.FuturePlots
api: 1.0.9
author: tim03we
version: 1.4.2
version: 1.4.3
description: A NukkitX based plot plugin
softdepend:
- EconomyAPI
Expand Down
Binary file not shown.
Binary file not shown.
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
#Sun Aug 02 14:57:33 CEST 2020
version=1.4.2-SNAPSHOT
#Sun Sep 20 11:22:50 CEST 2020
version=1.4.3-SNAPSHOT
groupId=tim03we.futureplots
artifactId=FuturePlots
Binary file not shown.

0 comments on commit 6a67730

Please sign in to comment.