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:
Ursprung
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;
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren