mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-03 13:36:44 +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) {
|
||||
return false;
|
||||
} else {
|
||||
if (!this.b.pvpMode) {
|
||||
// CraftBukkit - this.b.pvpMode -> this.world.pvpMode
|
||||
if (!this.world.pvpMode) {
|
||||
if (entity instanceof EntityHuman) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue