Update TakeResourceAction.java