diff --git a/gradle.properties b/gradle.properties index 87f974f..4bdb47c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,7 +8,7 @@ org.gradle.jvmargs=-Xmx1G loader_version=0.10.8 # Mod Properties - mod_version = 1.0.0 + mod_version = 1.1.0 maven_group = gatewayer archives_base_name = gatewayer diff --git a/src/main/java/me/ivan/gatewayer/utils/GatewayInfo.java b/src/main/java/me/ivan/gatewayer/utils/GatewayInfo.java index 04b28f1..bd62fe3 100644 --- a/src/main/java/me/ivan/gatewayer/utils/GatewayInfo.java +++ b/src/main/java/me/ivan/gatewayer/utils/GatewayInfo.java @@ -57,7 +57,7 @@ public Block getBlock() { public boolean hasBlockEntity() { if (!this.isEnabled()) return false; - return this.getBlock().hasBlockEntity(); + return this.getWorld().getBlockEntity(this.getPos()) != null; } public EndGatewayBlockEntity getBlockEntity() {