@nativewrappers/redm 0.0.76 → 0.0.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common/index.js +1 -2
- package/package.json +1 -1
package/common/index.js
CHANGED
|
@@ -999,7 +999,6 @@ function NetEvent(eventName, remoteOnly = true) {
|
|
|
999
999
|
throw new Error("NetEvent does not work on private methods, please mark the method as public");
|
|
1000
1000
|
}
|
|
1001
1001
|
context.addInitializer(function() {
|
|
1002
|
-
const t = this;
|
|
1003
1002
|
onNet(eventName, (...args) => {
|
|
1004
1003
|
const src = source;
|
|
1005
1004
|
try {
|
|
@@ -1008,7 +1007,7 @@ function NetEvent(eventName, remoteOnly = true) {
|
|
|
1008
1007
|
return;
|
|
1009
1008
|
}
|
|
1010
1009
|
}
|
|
1011
|
-
return originalMethod.call(
|
|
1010
|
+
return originalMethod.call(this, ...args);
|
|
1012
1011
|
} catch (e) {
|
|
1013
1012
|
REMOVE_NET_EVENT_LOG: {
|
|
1014
1013
|
if (!GlobalData.EnablePrettyPrint) return;
|