Fix some more compile errors

This commit is contained in:
Spottedleaf
2019-05-05 20:53:47 -07:00
parent eeb2ecd789
commit 8dfd5dc0c4
22 changed files with 110 additions and 83 deletions

View File

@@ -1,4 +1,4 @@
From 3725e2b0e67484a0c69c552ed24506a060f62e4b Mon Sep 17 00:00:00 2001
From 8b9290193e5d9a8a5ebd6dad4f644212eed5c96a Mon Sep 17 00:00:00 2001
From: Spottedleaf <Spottedleaf@users.noreply.github.com>
Date: Tue, 1 Jan 2019 02:22:01 -0800
Subject: [PATCH] Add Heightmap API
@@ -20,10 +20,10 @@ index 1bec5beab4..9f4cf3f1b3 100644
if (i >= -30000000 && j >= -30000000 && i < 30000000 && j < 30000000) {
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
index 016ed471bb..0cbca6870a 100644
index ed646bc9db..d2c3ea0dc3 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
@@ -311,6 +311,29 @@ public class CraftWorld implements World {
@@ -317,6 +317,29 @@ public class CraftWorld implements World {
return world.getHighestBlockYAt(HeightMap.Type.MOTION_BLOCKING, new BlockPosition(x, 0, z)).getY();
}