cant get XP for suicide
This commit is contained in:
@@ -346,6 +346,9 @@ public class Experience {
|
|||||||
if (killer == null || mob == null)
|
if (killer == null || mob == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if(killer.equals(mob))
|
||||||
|
return;
|
||||||
|
|
||||||
double grantedExperience = 0.0;
|
double grantedExperience = 0.0;
|
||||||
|
|
||||||
if (g != null) { // Do group EXP stuff
|
if (g != null) { // Do group EXP stuff
|
||||||
|
|||||||
Reference in New Issue
Block a user