Update CheckInventoryUI.java

replace with local