Commit 3fc985c
authored
Fix spectate command resetting gamemode when spectating someone in another dimension (#2365)
* Fix gamemode change on dimension change
This issue happened when using the spectate command on a player in another dimension. the spectator was set to survival mode.
* Fix player gamemode reset bug
When spectating a player in another dimension, you would previously get set to survival mode, this is now fixed.1 parent 499bf7e commit 3fc985c
File tree
1 file changed
+3
-1
lines changed- common/src/main/java/ac/grim/grimac/events/packets
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
214 | 216 | | |
215 | 217 | | |
216 | 218 | | |
| |||
0 commit comments