Fixed issue with commands randomly breaking.

This commit is contained in:
Treeku
2014-08-20 21:50:04 +01:00
parent df0654d901
commit 2e56f78b2b
@@ -305,7 +305,7 @@ public class CreatureObject extends TangibleObject implements IPersistent {
public void setPosture(byte posture) {
synchronized(objectMutex) {
switch (getPosture()) {
switch (posture) {
case resources.datatables.Posture.Invalid:
setLocomotion(resources.datatables.Locomotion.Invalid);
break;