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

Made PlayerPortal event fire regardless of allow-nether setting.

Dieser Commit ist enthalten in:
EvilSeph 2011-08-05 14:47:11 -04:00
Ursprung 4117d6b65e
Commit a7f2798862

Datei anzeigen

@ -229,7 +229,7 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
}
if (this.E) {
if (this.b.propertyManager.getBoolean("allow-nether", true)) {
//if (this.b.propertyManager.getBoolean("allow-nether", true)) { // CraftBukkit
if (this.activeContainer != this.defaultContainer) {
this.y();
}
@ -246,7 +246,7 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
}
this.E = false;
}
//} // CraftBukkit
} else {
if (this.F > 0.0F) {
this.F -= 0.05F;