RobertHerhold / BLWarps

Sponge plugin for warping players
MIT License
6 stars 5 forks source link

Multiple Warp points not working #1

Closed NoobTaco closed 9 years ago

NoobTaco commented 9 years ago

Expected Results: Multiple warps should permit the user to warp to any in the list.

Actual Results: Only the first warp appears to be loading and working.

Steps

  1. Installed fresh Forge server 1397
  2. Installed sponge-1.8-1371-2.1DEV-433.jar
  3. Installed sponge-warps-0.1.0.jar
  4. Loaded a fresh world.
  5. Logged into game and created a home warp point.
  6. Moved out some distance and created a second warp point.
  7. Typed /warp home and it telleported me back to home.
  8. Typed /warp test and it did not warp me off Home and gave a message that it was successful.

warps.json file created

[ {
  "name" : "home",
  "world" : "world",
  "x" : -185.37,
  "y" : 69.0,
  "z" : -190.26
}, {
  "name" : "test",
  "world" : "world",
  "x" : -195.89,
  "y" : 73.0,
  "z" : -118.61
} ]

Using flatfile format for storage.

RobertHerhold commented 9 years ago

@manorton Right now the teleportation seems to be a little bit buggy, and I'm not sure if it's an issue with my code or with Sponge. I'll test this out and get back to you in a little bit (it may be a few days). Thanks for the issue.

NoobTaco commented 9 years ago

You bet. I also just tried it with the new named jar file and same thing.

I should have added to the defect report that I am using flatfile format.

RobertHerhold commented 9 years ago

It should be fixed now. I'll release a new version, so please let me know if I have correctly resolved it.

NoobTaco commented 9 years ago

Retested and passed.

Looks good