ui fix client side, verify server side sync
This commit is contained in:
parent
9bb6e5b2ad
commit
f41f994fc1
@ -85,9 +85,13 @@ public class InventoryState implements BehaviorTree {
|
||||
if(inInventorySpawnedItem != null){
|
||||
Globals.entityManager.mapIdToId(inInventorySpawnedItem.getId(), message.getentityId());
|
||||
}
|
||||
//attempt re-render ui
|
||||
WindowUtils.attemptRedrawInventoryWindows();
|
||||
break;
|
||||
case REMOVEITEMFROMINVENTORY:
|
||||
InventoryUtils.removeItemFromInventories(parent, Globals.entityManager.getEntityFromServerId(message.getentityId()));
|
||||
//attempt re-render ui
|
||||
WindowUtils.attemptRedrawInventoryWindows();
|
||||
break;
|
||||
case SERVERCOMMANDMOVEITEMCONTAINER: {
|
||||
//this is a command to switch an item from one inventory to another (ie equip->natural or vice-versa)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user