Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-added BackCoords variable #147

Closed
wants to merge 3 commits into from
Closed

Re-added BackCoords variable #147

wants to merge 3 commits into from

Conversation

mathiascode
Copy link
Member

/tp broke after the BackCoords variable was removed.

@bennasar99
Copy link
Contributor

/back is now handled into essentials

@mathiascode
Copy link
Member Author

I know, but /tp depends on BackCoords to work.

@bennasar99
Copy link
Contributor

Maybe remove backcoords from tp?
Essentials /back handles any teleport of any plugin

@mathiascode
Copy link
Member Author

This is the error:

[15:36:27] LUA: Plugins/Core/functions.lua:2: attempt to index global 'BackCoords' (a nil value)
[15:36:27] Stack trace:
[15:36:27] Plugins/Core/functions.lua(2): SetBackCoordinates
[15:36:27] Plugins/Core/functions.lua(109): (no name)
[15:36:27] C: DoWithPlayer
[15:36:27] Plugins/Core/functions.lua(120): TeleportToPlayer
[15:36:27] Plugins/Core/teleport.lua(10): (no name)
[15:36:27] Stack trace end
[15:36:27] Error in calling function ()

@NiLSPACE
Copy link
Member

Oh, I commented here, but it didn't show up :|

You should remove the dependency of the BackCoords variable in the teleport commands (and everywhere else if you can find some more) instead. The BackCoords variable isn't used anywhere else, so it doesn't make sense to keep it.

@mathiascode
Copy link
Member Author

Changed.

@NiLSPACE
Copy link
Member

NiLSPACE commented Aug 9, 2015

No, now it's just renamed to PlayerCoords.

@mathiascode
Copy link
Member Author

I should learn Lua someday. :P

Can someone else change this? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants