DailyStruggle / RTP

fun with spatial math
25 stars 6 forks source link

/rtp not working for non-ops #27

Closed panterathehacker closed 1 year ago

panterathehacker commented 1 year ago

Hi there -- I get this console error when a non-op uses the /rtp command: https://pastebin.com/iJcS0vf6

The plugin THINKS they have teleported (the cooldown starts, and if they try again it says they are already teleporting).

Using most recent version of the plugin and of paper.

They have the rtp.use and rtp.free permissions.

panterathehacker commented 1 year ago

Fixed issue. /rtp reload did not reload the config files (despite the messaging saying it did). A server restart reloaded them.

DailyStruggle commented 1 year ago

latest version is unstable

I haven't seen this issue in a while so I assumed it was fixed.

DailyStruggle commented 1 year ago

op vs non-op will not affect whether or not the sqlite interaction happens. If they weren't teleporting, it's probably a separate issue.

DailyStruggle commented 1 year ago

attempting to teleport during or shortly after a reload seems to trigger some problems, primarily getting stuck in a teleport command

DailyStruggle commented 1 year ago

patched in latest commit, players should no longer be able to rtp during the reload process