3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-20 21:40:06 +01:00

Re-added per-world PVP setting support which was accidentally lost in translation. Thanks Rigby!

Dieser Commit ist enthalten in:
EvilSeph 2011-06-07 01:43:12 -04:00
Ursprung 9fde27bfcd
Commit 57a1a7422c

Datei anzeigen

@ -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;
}