Create BedListener.java

Let's the players in beds regenerate
Merge branch 'patch-1' of https://github.com/teunie-nl/Core into teunie-nl-patch-1
Fixed package name
Removed config references, fixed formatting.