This commit is contained in:
Jesse Boyd 2017-04-18 16:02:06 +10:00
parent b9854d31e3
commit 1c844bc5db
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -28,7 +28,7 @@ public class AsyncBlock implements Block {
this.world = world;
this.queue = queue;
this.x = x;
this.y = y & 0xFF;
this.y = Math.max(0, Math.min(255, y));
this.z = z;
}