public Lamp(Block block,int type, String player){
		this.block=block;
		this.type=type;
		this.player=player;
		if(this.type==1){
			this.block.setTypeId(123);
		}else if(this.type==2){
			this.block.setTypeId(124);
		}else if(this.type==3){
			BLWorld blworld=BLWorld.get(block.getWorld());
			if(blworld==null){
				blworld=new BLWorld(block.getWorld());
			}
			
			blworld.addlamp(this, 1);
			
			this.blworld=blworld;
		}
		
		lamps.add(this);
		//BetterLamps.p.save();
	}