mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-25 20:16:13 +01:00
Version increment
This commit is contained in:
parent
98fe82ec5f
commit
7d35127e6b
2
pom.xml
2
pom.xml
@ -5,7 +5,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>Jobs</groupId>
|
<groupId>Jobs</groupId>
|
||||||
<artifactId>jobs</artifactId>
|
<artifactId>jobs</artifactId>
|
||||||
<version>4.10.1</version>
|
<version>4.10.2</version>
|
||||||
<name>Jobs</name>
|
<name>Jobs</name>
|
||||||
<url>http://maven.apache.org</url>
|
<url>http://maven.apache.org</url>
|
||||||
<properties>
|
<properties>
|
||||||
|
@ -56,6 +56,7 @@ import com.gamingmesh.jobs.dao.JobsDAO;
|
|||||||
import com.gamingmesh.jobs.dao.JobsDAOData;
|
import com.gamingmesh.jobs.dao.JobsDAOData;
|
||||||
import com.gamingmesh.jobs.economy.PaymentData;
|
import com.gamingmesh.jobs.economy.PaymentData;
|
||||||
import com.gamingmesh.jobs.economy.PointsData;
|
import com.gamingmesh.jobs.economy.PointsData;
|
||||||
|
import com.gamingmesh.jobs.stuff.Debug;
|
||||||
import com.gamingmesh.jobs.stuff.PerformCommands;
|
import com.gamingmesh.jobs.stuff.PerformCommands;
|
||||||
|
|
||||||
public class PlayerManager {
|
public class PlayerManager {
|
||||||
@ -633,6 +634,7 @@ public class PlayerManager {
|
|||||||
for (JobCommands command : job.getCommands()) {
|
for (JobCommands command : job.getCommands()) {
|
||||||
if (newLevel >= command.getLevelFrom() && newLevel <= command.getLevelUntil()) {
|
if (newLevel >= command.getLevelFrom() && newLevel <= command.getLevelUntil()) {
|
||||||
for (String commandString : new ArrayList<String>(command.getCommands())) {
|
for (String commandString : new ArrayList<String>(command.getCommands())) {
|
||||||
|
Debug.D("cmd: |" + commandString);
|
||||||
commandString = commandString.replace("[player]", player.getName());
|
commandString = commandString.replace("[player]", player.getName());
|
||||||
commandString = commandString.replace("[oldlevel]", String.valueOf(oldLevel));
|
commandString = commandString.replace("[oldlevel]", String.valueOf(oldLevel));
|
||||||
commandString = commandString.replace("[newlevel]", String.valueOf(newLevel));
|
commandString = commandString.replace("[newlevel]", String.valueOf(newLevel));
|
||||||
|
@ -33,6 +33,7 @@ import org.bukkit.inventory.ItemStack;
|
|||||||
import com.gamingmesh.jobs.Jobs;
|
import com.gamingmesh.jobs.Jobs;
|
||||||
import com.gamingmesh.jobs.resources.jfep.Parser;
|
import com.gamingmesh.jobs.resources.jfep.Parser;
|
||||||
import com.gamingmesh.jobs.stuff.ChatColor;
|
import com.gamingmesh.jobs.stuff.ChatColor;
|
||||||
|
import com.gamingmesh.jobs.stuff.Debug;
|
||||||
|
|
||||||
public class Job {
|
public class Job {
|
||||||
// job info
|
// job info
|
||||||
|
Loading…
Reference in New Issue
Block a user