From 95027e0ae85e71abf452997940e96e3faca93f61 Mon Sep 17 00:00:00 2001 From: Nick Hastings Date: Tue, 1 Jan 2019 15:34:26 -0500 Subject: [PATCH] Fix BfRead.BytesLeft not being able to be optional. (fixes #945). --- plugins/include/core.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/include/core.inc b/plugins/include/core.inc index 47f05e1c..f6a1491a 100644 --- a/plugins/include/core.inc +++ b/plugins/include/core.inc @@ -246,7 +246,7 @@ public void __ext_core_SetNTVOptional() MarkNativeAsOptional("BfRead.ReadVecCoord"); MarkNativeAsOptional("BfRead.ReadVecNormal"); MarkNativeAsOptional("BfRead.ReadAngles"); - MarkNativeAsOptional("BfRead.GetNumBytesLeft"); + MarkNativeAsOptional("BfRead.BytesLeft.get"); MarkNativeAsOptional("PbReadInt"); MarkNativeAsOptional("PbReadFloat");