private void handleHowlingWolf(WorldServer world, DimensionInformation information) {
   if (information.getCelestialAngle() == null) {
     // We don't have fixed time.
     float a = world.getCelestialAngle(1.0f);
     t--;
     if (t <= 0) {
       t = 0;
     }
     if (Math.abs(a - 0.5f) < 0.05f) {
       if (t <= 0) {
         playHowl(world);
         t = 40;
       }
     }
   } else {
     // We have fixed time so just play the sound at random moments
     if (random.nextFloat() < 0.001) {
       playHowl(world);
     }
   }
 }