mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-23 19:15:32 +01:00
Disable portal support for entities for now. Restore allowNether check.
Relates to: BUKKIT-2695 BUKKIT-2675
This commit is contained in:
parent
6bf705dd08
commit
b7886d1421
@ -248,7 +248,7 @@ public abstract class Entity {
|
||||
|
||||
i = this.z();
|
||||
if (this.ao) {
|
||||
// if (minecraftserver.getAllowNether()) { // CraftBukkit
|
||||
if (minecraftserver.getAllowNether()) {
|
||||
if (this.vehicle == null && this.h++ >= i) {
|
||||
this.h = i;
|
||||
this.an = this.ab();
|
||||
@ -264,7 +264,7 @@ public abstract class Entity {
|
||||
}
|
||||
|
||||
this.ao = false;
|
||||
// } // CraftBukkit
|
||||
}
|
||||
} else {
|
||||
if (this.h > 0) {
|
||||
this.h -= 4;
|
||||
@ -1681,7 +1681,7 @@ public abstract class Entity {
|
||||
}
|
||||
|
||||
public void b(int i) {
|
||||
if (!this.world.isStatic && !this.dead) {
|
||||
if (false && !this.world.isStatic && !this.dead) { // CraftBukkit - disable entity portal support for now.
|
||||
MinecraftServer minecraftserver = MinecraftServer.getServer();
|
||||
int j = this.dimension;
|
||||
WorldServer worldserver = minecraftserver.getWorldServer(j);
|
||||
|
Loading…
Reference in New Issue
Block a user