Skip to content

Commit

Permalink
Update EntityMixin.java
Browse files Browse the repository at this point in the history
  • Loading branch information
LudoCrypt authored Sep 5, 2020
1 parent 1a62efc commit 99a3cfc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ private void onEntityTick(CallbackInfo ci) {
if (entity instanceof PlayerEntity) {
if (!world.isClient) {
if (entity.isInsideWall() && entity.world.getRegistryKey() == World.OVERWORLD
&& ((PlayerEntity) entity).isCreative()) {
&& !((PlayerEntity) entity).isCreative()) {
if (Math.random() < 0.75) {
if (Math.random() < BackroomsConfig.getInstance().SuffocationChance) {
if (Math.random() < 0.02) {
Expand Down

0 comments on commit 99a3cfc

Please sign in to comment.