@rbxts/covenant 1.0.6 → 1.0.7
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/package.json +2 -2
- package/src/covenant.d.ts +1 -1
- package/src/covenant.luau +2 -2
- package/src/index.d.ts +0 -2
- package/src/init.luau +0 -4
package/package.json
CHANGED
package/src/covenant.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ export declare class Covenant {
|
|
|
31
31
|
private setupPredictionClient;
|
|
32
32
|
private setupPredictionServer;
|
|
33
33
|
private setupPrediction;
|
|
34
|
-
private
|
|
34
|
+
private setupReplicationServer;
|
|
35
35
|
private setupReplicationPayload;
|
|
36
36
|
private setupReplicationClient;
|
|
37
37
|
private setupReplication;
|
package/src/covenant.luau
CHANGED
|
@@ -137,7 +137,7 @@ do
|
|
|
137
137
|
self:setupPredictionServer()
|
|
138
138
|
end
|
|
139
139
|
end
|
|
140
|
-
function Covenant:
|
|
140
|
+
function Covenant:setupReplicationServer()
|
|
141
141
|
self:schedule(RunService.Heartbeat, function()
|
|
142
142
|
if next(self.worldChangesForReplication) == nil then
|
|
143
143
|
return nil
|
|
@@ -225,7 +225,7 @@ do
|
|
|
225
225
|
end
|
|
226
226
|
function Covenant:setupReplication()
|
|
227
227
|
if RunService:IsServer() then
|
|
228
|
-
self:
|
|
228
|
+
self:setupReplicationServer()
|
|
229
229
|
self:setupReplicationPayload()
|
|
230
230
|
end
|
|
231
231
|
if RunService:IsClient() then
|
package/src/index.d.ts
DELETED
package/src/init.luau
DELETED