mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-09-12 23:45:12 -04:00
make this a boolean
This commit is contained in:
@@ -22318,10 +22318,10 @@ public class base_class
|
||||
_updateVendorStatus(getLongWithNull(vendor), status);
|
||||
}
|
||||
|
||||
private static native void _sendScriptVarsToProxies(long obj, byte[] deltaBuffer);
|
||||
public static void sendScriptVarsToProxies(obj_id obj, byte[] deltaBuffer)
|
||||
private static native boolean _sendScriptVarsToProxies(long obj, byte[] deltaBuffer);
|
||||
public static boolean sendScriptVarsToProxies(obj_id obj, byte[] deltaBuffer)
|
||||
{
|
||||
_sendScriptVarsToProxies(getLongWithNull(obj), deltaBuffer);
|
||||
return _sendScriptVarsToProxies(getLongWithNull(obj), deltaBuffer);
|
||||
}
|
||||
|
||||
/** Get the scriptVars deltadictionary from an obj_id
|
||||
|
||||
@@ -596,7 +596,12 @@ public final class obj_id implements Comparable, Serializable
|
||||
byte[] deltaBuffer = pdo.packDeltaScriptVars();
|
||||
if (deltaBuffer != null && deltaBuffer.length > 0)
|
||||
{
|
||||
base_class.sendScriptVarsToProxies(pdo, deltaBuffer);
|
||||
boolean res = base_class.sendScriptVarsToProxies(pdo, deltaBuffer);
|
||||
|
||||
if (res == false) {
|
||||
pdo.scriptVars.clearDelta();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user