generated from AriasCreations/vsmodtemplate
Patch an infinite loop
This commit is contained in:
parent
aad44f4c45
commit
74d85c57e1
3 changed files with 5 additions and 2 deletions
|
@ -132,6 +132,7 @@ public class RTPFactory
|
|||
|
||||
// Generate a new position
|
||||
var position = rtp.MakeNewPosition();
|
||||
ServerUtilities.SendMessageTo(rtp.player, Lang.Get($"{ServerUtilities.MOD_ID}:rtp-progress"));
|
||||
|
||||
// Get the world handle, then get chunk size
|
||||
var worldManager = ServerUtilities.API.WorldManager;
|
||||
|
@ -178,6 +179,7 @@ public class RTPFactory
|
|||
if (pos == null)
|
||||
{
|
||||
// Let this get checked again
|
||||
RTPCache.Remove(data);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue