Skip to content

Commit

Permalink
Sundamage now only is applied in the overworld #release
Browse files Browse the repository at this point in the history
  • Loading branch information
maxanier committed May 26, 2015
1 parent bf06641 commit 441d0c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ public void onToggleAutoFillBlood() {

public boolean gettingSundamage() {

if (player.worldObj != null){
if (player.worldObj != null &&player.worldObj.provider.dimensionId==0){
int time=(int) (player.worldObj.getWorldTime()%24000);
if(player.worldObj.canBlockSeeTheSky(
MathHelper.floor_double(player.posX),
Expand Down

0 comments on commit 441d0c0

Please sign in to comment.