mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 04:17: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
@ -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 New Issue
Block a user