mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Changes up to 0.8.4
This commit is contained in:
parent
2788eb1be2
commit
bf328555dd
@ -82,7 +82,7 @@ public class mcEntityListener extends EntityListener {
|
||||
if(e instanceof Player){
|
||||
Player defender = (Player)e;
|
||||
if(f instanceof Monster){
|
||||
mcUsers.getProfile(defender).setRecentlyHurt(60);
|
||||
mcUsers.getProfile(defender).setRecentlyHurt(30);
|
||||
}
|
||||
/*
|
||||
* PARRYING CHECK, CHECK TO SEE IF ITS A SUCCESSFUL PARRY OR NOT
|
||||
|
@ -18,6 +18,8 @@ public class mcTimer extends TimerTask{
|
||||
public void run() {
|
||||
if(thecount == 5 || thecount == 10 || thecount == 15 || thecount == 20){
|
||||
for(Player player : plugin.getServer().getOnlinePlayers()){
|
||||
//Add the user to the file so we don't create null exception error
|
||||
mcUsers.addUser(player);
|
||||
if(player != null &&
|
||||
player.getHealth() > 0 && player.getHealth() < 20
|
||||
&& mcUsers.getProfile(player).getPowerLevel() >= 1000
|
||||
|
@ -974,7 +974,7 @@ public class mcm {
|
||||
return;
|
||||
}
|
||||
}
|
||||
mcUsers.getProfile(defender).setRecentlyHurt(60);
|
||||
mcUsers.getProfile(defender).setRecentlyHurt(30);
|
||||
/*
|
||||
* AXE CRITICAL CHECK
|
||||
*/
|
||||
|
@ -1,3 +1,3 @@
|
||||
name: mcMMO
|
||||
main: com.gmail.nossr50.mcMMO
|
||||
version: 0.8.3
|
||||
version: 0.8.4
|
Loading…
Reference in New Issue
Block a user