Commit de49f0a
committed
Prevent essentials home replace
Prevent essentials home replace with players with old player data. This also prevents home replacement sometimes with players who player before but the server is still busy fetching the data. This happened multiple times in quiquelhappy's server, when a server went down and they got moved back to it, they all got their homes replaced because the server had a wrong response on fetching data, teleporting them as if they were new players. This will force-check if the player already has a home.1 parent 1b90e26 commit de49f0a
File tree
1 file changed
+20
-10
lines changed- src/main/java/systems/kscott/randomspawnplus/listeners
1 file changed
+20
-10
lines changedLines changed: 20 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | | - | |
47 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
48 | 54 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
53 | 60 | | |
54 | | - | |
55 | | - | |
| 61 | + | |
| 62 | + | |
56 | 63 | | |
57 | | - | |
58 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
59 | 69 | | |
60 | 70 | | |
61 | 71 | | |
| |||
0 commit comments