mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-01 06:53:44 +01:00
Made PlayerPortal event fire regardless of allow-nether setting.
This commit is contained in:
parent
4117d6b65e
commit
a7f2798862
@ -229,7 +229,7 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (this.E) {
|
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) {
|
if (this.activeContainer != this.defaultContainer) {
|
||||||
this.y();
|
this.y();
|
||||||
}
|
}
|
||||||
@ -246,7 +246,7 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.E = false;
|
this.E = false;
|
||||||
}
|
//} // CraftBukkit
|
||||||
} else {
|
} else {
|
||||||
if (this.F > 0.0F) {
|
if (this.F > 0.0F) {
|
||||||
this.F -= 0.05F;
|
this.F -= 0.05F;
|
||||||
|
Loading…
Reference in New Issue
Block a user