ubc-minetest-classroom / minetest_classroom

Repo for Mintest Classroom game
GNU General Public License v3.0
10 stars 6 forks source link

Teacher controller is not managed correctly #218

Closed pauldpickell closed 1 year ago

pauldpickell commented 1 year ago

Describe the bug On revoke teacher priv the player still has the teacher controller in the inventory. It is not functional. On grant teacher priv, the player is not given the teacher controller and must exit and rejoin the game to receive it.

To Reproduce Steps to reproduce the behavior:

  1. Revoke teacher priv via \revoke [player name] teacher or grant via \grant [player name] teacher.
  2. Observe teacher controller tool in the hotbar, inventory and/or tool box or observe its absence on grant.

Expected behavior The teacher controller should be made available immediately when the teacher priv is granted and removed from inventory when the priv is revoked.

Desktop (please complete the following information):

pauldpickell commented 1 year ago

Fixed by #221