punchy-fix

add compat with kubejs6 and java