Skip to content
This repository has been archived by the owner on May 2, 2018. It is now read-only.

Commit

Permalink
Disable collectors in dimensions other than the overworld
Browse files Browse the repository at this point in the history
  • Loading branch information
Aesen Vismea committed Mar 28, 2015
1 parent 94a3148 commit 687e0be
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public int tickRate(World world) {

@Override
public void updateTick(World world, int x, int y, int z, Random rand) {
if (!world.provider.isSurfaceWorld()) return;
int meta = world.getBlockMetadata(x, y, z);
boolean operate = false;
int time = (int) (world.getWorldTime() % 24000);
Expand Down

0 comments on commit 687e0be

Please sign in to comment.