update 1.16

This commit is contained in:
gnembon committed 2020-06-04 02:40:40 -03:00
1 parent 8fe3508fdd
commit 252dc29e18
2 files changed
+5 -11

No files matched your search

@@ -164,11 +164,11 @@ public class ShapesRenderer
{
return shape.key();
};
public boolean shouldRender(DimensionType dim)
public boolean shouldRender(RegistryKey<World> dim)
{
if (shape.followEntity <=0 ) return true;
if (client.world == null) return false;
if (client.world.dimension.getType() != dim) return false;
if (client.world.method_27983() != dim) return false;
if (client.world.getEntityById(shape.followEntity) == null) return false;
return true;
}