|
@@ -63,6 +63,7 @@ public class McMMOPlayer {
|
|
private boolean ptpEnabled = true;
|
|
private boolean ptpEnabled = true;
|
|
private boolean ptpConfirmRequired = Config.getInstance().getPTPCommandConfirmRequired();
|
|
private boolean ptpConfirmRequired = Config.getInstance().getPTPCommandConfirmRequired();
|
|
private long ptpTimeout;
|
|
private long ptpTimeout;
|
|
|
|
+ private int ptpLastUse;
|
|
|
|
|
|
private boolean partyChatMode;
|
|
private boolean partyChatMode;
|
|
private boolean adminChatMode;
|
|
private boolean adminChatMode;
|
|
@@ -83,7 +84,7 @@ public class McMMOPlayer {
|
|
|
|
|
|
private int recentlyHurt;
|
|
private int recentlyHurt;
|
|
private int respawnATS;
|
|
private int respawnATS;
|
|
- private int teleportLastUse;
|
|
|
|
|
|
+ private int chimeraWingLastUse;
|
|
private Location teleportCommence;
|
|
private Location teleportCommence;
|
|
|
|
|
|
private boolean isUsingUnarmed;
|
|
private boolean isUsingUnarmed;
|
|
@@ -310,12 +311,12 @@ public class McMMOPlayer {
|
|
* Teleportation cooldown & warmup
|
|
* Teleportation cooldown & warmup
|
|
*/
|
|
*/
|
|
|
|
|
|
- public int getLastTeleport() {
|
|
|
|
- return teleportLastUse;
|
|
|
|
|
|
+ public int getChimeraWingLastUse() {
|
|
|
|
+ return chimeraWingLastUse;
|
|
}
|
|
}
|
|
|
|
|
|
- public void actualizeLastTeleport() {
|
|
|
|
- teleportLastUse = (int) (System.currentTimeMillis() / Misc.TIME_CONVERSION_FACTOR);
|
|
|
|
|
|
+ public void actualizeChimeraWingLastUse() {
|
|
|
|
+ chimeraWingLastUse = (int) (System.currentTimeMillis() / Misc.TIME_CONVERSION_FACTOR);
|
|
}
|
|
}
|
|
|
|
|
|
public Location getTeleportCommenceLocation() {
|
|
public Location getTeleportCommenceLocation() {
|
|
@@ -612,6 +613,14 @@ public class McMMOPlayer {
|
|
ptpConfirmRequired = !ptpConfirmRequired;
|
|
ptpConfirmRequired = !ptpConfirmRequired;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public int getPtpLastUse() {
|
|
|
|
+ return ptpLastUse;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void actualizePtpLastUse() {
|
|
|
|
+ ptpLastUse = (int) (System.currentTimeMillis() / Misc.TIME_CONVERSION_FACTOR);
|
|
|
|
+ }
|
|
|
|
+
|
|
public long getPtpTimeout() {
|
|
public long getPtpTimeout() {
|
|
return ptpTimeout;
|
|
return ptpTimeout;
|
|
}
|
|
}
|