-
Notifications
You must be signed in to change notification settings - Fork 659
"moved" wrongly possibly fix #2799
Comments
oh. Well, now we only need to fix the thin vertical blocks like iron bars or glass panes, they are wrong. Also fences. I'll check this tomorrow, I can't test right now! |
Nice thing! |
Make a pull request. |
This does not fix the issue. Helps with detecting a problem, but without proper offset checks it's not useful. I've been experimenting with some other settings, but it'll be for 1.5 |
The reason i decided to provide this - in playing experience. While i moving up too slow on stairs "revert" doesnt happen. So I tried removing half-block distance the same as one stair from expression by giving to such movement zero speed. |
@vvzar The fix is correct, but doesn't fix all the things. It's only the first part :) |
😄 |
it is a serious problem,hope for fixing it soon |
in dev 1.5 builds warning seems to be fixed. |
Maybe we can count height of mob > 2 blocks == 2 blocks? |
Can You please change line in file src/pocketmine/Player.php:
1360 - if($diffY > -0.5 or $diffY < 0.5){
1360 + if($diffY >= -0.5 or $diffY <= 0.5){
I think, this way stairs and other thin blocks will not generate "moved wrongly" issue :(
The text was updated successfully, but these errors were encountered: