Update CustomPig1_7_R4.java

Re-added check if pig is on ground when attempting a jump, to remove "pig flying".