Skip to content

Commit

Permalink
Fix Brackets
Browse files Browse the repository at this point in the history
Leclowndu93150 committed Apr 29, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent f7eed67 commit bac02f3
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -30,7 +30,9 @@ public static void onCheckTime(SleepingTimeCheckEvent event) {

@SubscribeEvent
public static void onBedCheck(SleepingLocationCheckEvent event) {
if (event.getEntity().level().getBlockState(event.getSleepingLocation()).getBlock().equals(INVERTED_BED))
if (event.getEntity().level().getBlockState(event.getSleepingLocation()).getBlock().equals(INVERTED_BED)) {
event.setResult(Event.Result.ALLOW);
}
}

}

0 comments on commit bac02f3

Please sign in to comment.