Update Skeleton.php

fixed a little wrong
Merge pull request #2188 from aodzip/patch-1

Update Skeleton.php
Fixes inventory changes getting the wrong window, closes #2187
Merge branch 'master' of github.com:PocketMine/PocketMine-MP
Merge branch 'master' into 0.10