mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Fixed a further exploit with players attacking more things that they shouldn't.
This commit is contained in:
1 parent
2ab160e484
commit
dfbcd36ab7
2 files changed
+5
-4
No files matched your search
@@ -648,7 +648,7 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
|
||||
this.deathTicks = 0;
|
||||
effects.clear();
|
||||
this.activeContainer = this.defaultContainer;
|
||||
this.lastSentExp = -1; // lastSentExp. Find line: "if (this.expTotal != this.XXXX) {"
|
||||
this.lastSentExp = -1;
|
||||
if(this.keepLevel) {
|
||||
this.exp = exp;
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user