summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/net/minecraft/server/Entity.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/net/minecraft/server/Entity.java b/src/main/java/net/minecraft/server/Entity.java
index ddbb9c45..a99392ef 100644
--- a/src/main/java/net/minecraft/server/Entity.java
+++ b/src/main/java/net/minecraft/server/Entity.java
@@ -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);