diff --git a/TestVelGameServer/Packages/VelNetUnity/Runtime/NetworkObject.cs b/TestVelGameServer/Packages/VelNetUnity/Runtime/NetworkObject.cs index fd607c5..be58fb7 100644 --- a/TestVelGameServer/Packages/VelNetUnity/Runtime/NetworkObject.cs +++ b/TestVelGameServer/Packages/VelNetUnity/Runtime/NetworkObject.cs @@ -69,7 +69,6 @@ namespace VelNet public void ReceiveBytes(string identifier, byte[] message, string str_message = "") { // send the message to the right component - try { syncedComponents[int.Parse(identifier)].ReceiveBytes(message); @@ -125,4 +124,4 @@ namespace VelNet } } #endif -} \ No newline at end of file +} diff --git a/TestVelGameServer/Packages/VelNetUnity/Runtime/VelNetManager.cs b/TestVelGameServer/Packages/VelNetUnity/Runtime/VelNetManager.cs index 9441dc7..d78e7fb 100644 --- a/TestVelGameServer/Packages/VelNetUnity/Runtime/VelNetManager.cs +++ b/TestVelGameServer/Packages/VelNetUnity/Runtime/VelNetManager.cs @@ -657,7 +657,6 @@ namespace VelNet } - public static NetworkObject InstantiateNetworkObject(string prefabName) { VelNetPlayer localPlayer = LocalPlayer; @@ -745,4 +744,4 @@ namespace VelNet return true; } } -} \ No newline at end of file +}