少年修仙传客户端基础资源
client_Wu Xijin
2018-10-29 8efd04f4314e44c5b732e95163383b1911d279cb
Assets/XLua/Src/LuaTable.cs
@@ -53,7 +53,7 @@
                Type type_of_value = typeof(TValue);
                if (lua_type == LuaTypes.LUA_TNIL && type_of_value.IsValueType())
                {
                    throw new InvalidCastException("can not assign nil to " + type_of_value);
                    throw new InvalidCastException("can not assign nil to " + type_of_value.GetFriendlyName());
                }
                try
@@ -147,7 +147,7 @@
                LuaTypes lua_type = LuaAPI.lua_type(L, -1);
                if (lua_type == LuaTypes.LUA_TNIL && typeof(T).IsValueType())
                {
                    throw new InvalidCastException("can not assign nil to " + typeof(T));
                    throw new InvalidCastException("can not assign nil to " + typeof(T).GetFriendlyName());
                }
                T value;