mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2025-02-02 21:41:39 +01:00
Fix the SLEEP flag not checking the right bed material.
This commit is contained in:
parent
88c0bdfffb
commit
9b7970475a
@ -219,7 +219,7 @@ public boolean apply(Location target) {
|
||||
what = "open that";
|
||||
|
||||
/* Beds */
|
||||
} else if (type == Material.BED) {
|
||||
} else if (type == Material.BED_BLOCK) {
|
||||
canUse = query.testBuild(target, associable, DefaultFlag.USE, DefaultFlag.SLEEP);
|
||||
what = "sleep";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user