mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-11 17:31:06 +01:00
Re-added per-world PVP setting support which was accidentally lost in translation. Thanks Rigby!
This commit is contained in:
parent
9fde27bfcd
commit
57a1a7422c
1 changed files with 2 additions and 1 deletions
|
@ -145,7 +145,8 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
|
||||||
if (this.bL > 0) {
|
if (this.bL > 0) {
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
if (!this.b.pvpMode) {
|
// CraftBukkit - this.b.pvpMode -> this.world.pvpMode
|
||||||
|
if (!this.world.pvpMode) {
|
||||||
if (entity instanceof EntityHuman) {
|
if (entity instanceof EntityHuman) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue