Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
austinv11 committed Mar 2, 2015
1 parent 01f0f28 commit 2b308e7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import dan200.computercraft.api.peripheral.IComputerAccess;
import dan200.computercraft.api.peripheral.IPeripheral;
import dan200.computercraft.api.turtle.ITurtleAccess;
import net.minecraft.util.Vec3;
import net.minecraft.util.ChunkCoordinates;
import net.minecraft.world.World;

public class TileEntityNoteBlock extends MountedTileEntity {
Expand Down Expand Up @@ -116,7 +116,7 @@ private void checkPlayNote(Object[] arguments) throws LuaException {
}

// Check position
Vec3 position = location.getPosition();
ChunkCoordinates position = location.getPosition();
World world = location.getWorld();
if(position == null || world == null) {
return;
Expand Down

0 comments on commit 2b308e7

Please sign in to comment.