From 2a19db6e87e017652b6acf81fc52a30383713aee Mon Sep 17 00:00:00 2001 From: Irtimaled Date: Mon, 25 Mar 2019 08:41:14 -0700 Subject: [PATCH] Fix not rendering on server client --- src/main/java/com/irtimaled/bbor/client/ClientProxy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/irtimaled/bbor/client/ClientProxy.java b/src/main/java/com/irtimaled/bbor/client/ClientProxy.java index 8e2ba5b2..6ad3de95 100644 --- a/src/main/java/com/irtimaled/bbor/client/ClientProxy.java +++ b/src/main/java/com/irtimaled/bbor/client/ClientProxy.java @@ -73,7 +73,7 @@ private void disconnectedFromServer() { } private void addBoundingBox(AddBoundingBoxReceived event) { - BoundingBoxCache cache = getCache(event.getDimensionId()); + BoundingBoxCache cache = getOrCreateCache(event.getDimensionId()); if (cache == null) return; cache.addBoundingBoxes(event.getKey(), event.getBoundingBoxes());