[wheybags] [0.16.05] mining a car with full inventory
Posted: Mon Dec 18, 2017 11:49 am
I just tried to mine a car I was driving with a full inventory (both player and car). The car didn't get mined, but my character still exited the car. On the exact same spot of the car. So:
To reproduce:
- player with full inventory
- car has some stuff in inventory
- enter car
- mine car
screenshot of result: expected behaviour:
- message "inventory full" is shown
actual behaviour:
- part of cars inventory is transferred to player inventory. (Annoying, but consistent with chest mining)
- player character is placed at the same spot as the car (shouldn't happen).
Suggested fix: create player character after it has been verified the vehicle can be mined.
To reproduce:
- player with full inventory
- car has some stuff in inventory
- enter car
- mine car
screenshot of result: expected behaviour:
- message "inventory full" is shown
actual behaviour:
- part of cars inventory is transferred to player inventory. (Annoying, but consistent with chest mining)
- player character is placed at the same spot as the car (shouldn't happen).
Suggested fix: create player character after it has been verified the vehicle can be mined.